Skip to content

Commit bac0197

Browse files
committed
fix
1 parent 3ccea48 commit bac0197

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

datafusion/sqllogictest/test_files/explain_tree.slt

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,8 +1464,8 @@ drop table t2;
14641464
# prepare table
14651465
statement ok
14661466
CREATE UNBOUNDED EXTERNAL TABLE data (
1467-
"date" DATE,
1468-
"ticker" VARCHAR,
1467+
"date" DATE,
1468+
"ticker" VARCHAR,
14691469
"time" TIMESTAMP,
14701470
) STORED AS CSV
14711471
WITH ORDER ("date", "ticker", "time")
@@ -1474,8 +1474,8 @@ LOCATION './a.parquet';
14741474

14751475
# query
14761476
query TT
1477-
explain SELECT * FROM data
1478-
WHERE ticker = 'A'
1477+
explain SELECT * FROM data
1478+
WHERE ticker = 'A'
14791479
ORDER BY "date", "time";
14801480
----
14811481
physical_plan
@@ -1637,7 +1637,7 @@ physical_plan
16371637

16381638
# same thing but order by time, date
16391639
query TT
1640-
explain SELECT * FROM data
1640+
explain SELECT * FROM data
16411641
WHERE ticker = 'A' AND CAST(time AS DATE) = date
16421642
ORDER BY "time", "date";
16431643
----
@@ -1682,8 +1682,8 @@ physical_plan
16821682

16831683
# query
16841684
query TT
1685-
explain SELECT * FROM data
1686-
WHERE date = '2006-01-02'
1685+
explain SELECT * FROM data
1686+
WHERE date = '2006-01-02'
16871687
ORDER BY "ticker", "time";
16881688
----
16891689
physical_plan
@@ -1990,19 +1990,19 @@ CREATE TABLE t (k int)
19901990

19911991
# By default, the plan of this large query is cropped
19921992
query TT
1993-
EXPLAIN SELECT * FROM t t1, t t2, t t3, t t4, t t5, t t6, t t7, t t8, t t9, t t10
1993+
EXPLAIN SELECT * FROM t t1, t t2, t t3, t t4, t t5, t t6, t t7, t t8, t t9, t t10
19941994
----
19951995
physical_plan
19961996
01)┌───────────────────────────┐
19971997
02)│ CrossJoinExec ├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1998-
03)└─────────────┬─────────────┘
1999-
04)┌─────────────┴─────────────┐
2000-
05)│ CrossJoinExec │
2001-
06)│ │
2002-
07)│ ├─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
2003-
08)│ │ │
2004-
09)│ │ │
2005-
10)└─────────────┬─────────────┘ │
1998+
03)└─────────────┬─────────────┘
1999+
04)┌─────────────┴─────────────┐
2000+
05)│ CrossJoinExec │
2001+
06)│ │
2002+
07)│ ├─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
2003+
08)│ │ │
2004+
09)│ │ │
2005+
10)└─────────────┬─────────────┘ │
20062006
11)┌─────────────┴─────────────┐ ┌─────────────┴─────────────┐
20072007
12)│ CrossJoinExec │ │ DataSourceExec │
20082008
13)│ │ │ -------------------- │
@@ -2065,7 +2065,7 @@ statement ok
20652065
SET datafusion.explain.tree_maximum_render_width = 0
20662066

20672067
query TT
2068-
EXPLAIN SELECT * FROM t t1, t t2, t t3, t t4, t t5, t t6, t t7, t t8, t t9, t t10
2068+
EXPLAIN SELECT * FROM t t1, t t2, t t3, t t4, t t5, t t6, t t7, t t8, t t9, t t10
20692069
----
20702070
physical_plan
20712071
01)┌───────────────────────────┐
@@ -2140,51 +2140,51 @@ statement ok
21402140
SET datafusion.explain.tree_maximum_render_width = 60
21412141

21422142
query TT
2143-
EXPLAIN SELECT * FROM t t1, t t2, t t3, t t4, t t5, t t6, t t7, t t8, t t9, t t10
2143+
EXPLAIN SELECT * FROM t t1, t t2, t t3, t t4, t t5, t t6, t t7, t t8, t t9, t t10
21442144
----
21452145
physical_plan
21462146
01)┌───────────────────────────┐
2147-
02)│ CrossJoinExec ├──────────────────────────────────────────────────────────
2147+
02)│ CrossJoinExec ├──────────────────────────────────────────────────────────
21482148
03)└─────────────┬─────────────┘
21492149
04)┌─────────────┴─────────────┐
21502150
05)│ CrossJoinExec │
21512151
06)│ │
2152-
07)│ ├──────────────────────────────────────────────────────────
2152+
07)│ ├──────────────────────────────────────────────────────────
21532153
08)│ │
21542154
09)│ │
21552155
10)└─────────────┬─────────────┘
21562156
11)┌─────────────┴─────────────┐
21572157
12)│ CrossJoinExec │
21582158
13)│ │
2159-
14)│ ├──────────────────────────────────────────────────────────
2159+
14)│ ├──────────────────────────────────────────────────────────
21602160
15)│ │
21612161
16)│ │
21622162
17)└─────────────┬─────────────┘
21632163
18)┌─────────────┴─────────────┐
21642164
19)│ CrossJoinExec │
21652165
20)│ │
2166-
21)│ ├──────────────────────────────────────────────────────────
2166+
21)│ ├──────────────────────────────────────────────────────────
21672167
22)│ │
21682168
23)│ │
21692169
24)└─────────────┬─────────────┘
21702170
25)┌─────────────┴─────────────┐
21712171
26)│ CrossJoinExec │
21722172
27)│ │
2173-
28)│ ├──────────────────────────────────────────────────────────
2173+
28)│ ├──────────────────────────────────────────────────────────
21742174
29)│ │
21752175
30)│ │
21762176
31)└─────────────┬─────────────┘
21772177
32)┌─────────────┴─────────────┐
21782178
33)│ CrossJoinExec │
21792179
34)│ │
2180-
35)│ ├──────────────────────────────────────────────────────────
2180+
35)│ ├──────────────────────────────────────────────────────────
21812181
36)│ │
21822182
37)│ │
21832183
38)└─────────────┬─────────────┘
21842184
39)┌─────────────┴─────────────┐
21852185
40)│ CrossJoinExec │
21862186
41)│ │
2187-
42)│ ├──────────────────────────────────────────────────────────
2187+
42)│ ├──────────────────────────────────────────────────────────
21882188
43)│ │
21892189
44)│ │
21902190
45)└─────────────┬─────────────┘
@@ -2195,13 +2195,13 @@ physical_plan
21952195
50)│ │ │
21962196
51)│ │ │
21972197
52)└─────────────┬─────────────┘ │
2198-
53)┌─────────────┴─────────────┐ ┌─────────────┴─────────────┐
2199-
54)│ CrossJoinExec │ │ DataSourceExec │
2200-
55)│ │ │ -------------------- │
2201-
56)│ ├──────────────┐ │ bytes: 0 │
2202-
57)│ │ │ │ format: memory │
2203-
58)│ │ │ │ rows: 0 │
2204-
59)└─────────────┬─────────────┘ │ └───────────────────────────┘
2198+
53)┌─────────────┴─────────────┐ ┌─────────────┴─────────────┐
2199+
54)│ CrossJoinExec │ │ DataSourceExec │
2200+
55)│ │ │ -------------------- │
2201+
56)│ ├──────────────┐ │ bytes: 0 │
2202+
57)│ │ │ │ format: memory │
2203+
58)│ │ │ │ rows: 0 │
2204+
59)└─────────────┬─────────────┘ │ └───────────────────────────┘
22052205
60)┌─────────────┴─────────────┐┌─────────────┴─────────────┐
22062206
61)│ DataSourceExec ││ DataSourceExec │
22072207
62)│ -------------------- ││ -------------------- │

0 commit comments

Comments
 (0)