Skip to content

Commit cc8de02

Browse files
committed
improve test
1 parent 1b767c7 commit cc8de02

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

datafusion/sqllogictest/test_files/explain_tree.slt

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -259,12 +259,12 @@ physical_plan
259259

260260
# Query with filter on csv
261261
query TT
262-
explain SELECT int_col FROM table2 WHERE string_col != 'foo';
262+
explain SELECT int_col FROM table1 WHERE string_col != 'foo';
263263
----
264264
logical_plan
265-
01)Projection: table2.int_col
266-
02)--Filter: table2.string_col != Utf8View("foo")
267-
03)----TableScan: table2 projection=[int_col, string_col], partial_filters=[table2.string_col != Utf8View("foo")]
265+
01)Projection: table1.int_col
266+
02)--Filter: table1.string_col != Utf8("foo")
267+
03)----TableScan: table1 projection=[int_col, string_col], partial_filters=[table1.string_col != Utf8("foo")]
268268
physical_plan
269269
01)┌───────────────────────────┐
270270
02)│ CoalesceBatchesExec │
@@ -282,11 +282,8 @@ physical_plan
282282
14)│ DataSourceExec │
283283
15)│ -------------------- │
284284
16)│ files: 1 │
285-
17)│ format: parquet │
286-
18)│ │
287-
19)│ predicate: │
288-
20)│ string_col@1 != foo │
289-
21)└───────────────────────────┘
285+
17)│ format: csv │
286+
18)└───────────────────────────┘
290287

291288

292289
# Query with filter on parquet
@@ -402,8 +399,6 @@ physical_plan
402399
17)│ format: arrow │
403400
18)└───────────────────────────┘
404401

405-
406-
407402
# cleanup
408403
statement ok
409404
drop table table1;

0 commit comments

Comments
 (0)