Skip to content

Commit 556fba7

Browse files
committed
add test
1 parent c5bb4fb commit 556fba7

File tree

1 file changed

+18
-0
lines changed
  • tests/sqllogictests/suites/mode/standalone/explain

1 file changed

+18
-0
lines changed

tests/sqllogictests/suites/mode/standalone/explain/update.test

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,14 @@ MutationSource
7676
├── filters: [is_true(t1.a (#0) > 2)]
7777
└── output rows: 4
7878

79+
query II
80+
select * from t1 order by a;
81+
----
82+
1 2
83+
2 3
84+
3 4
85+
8 9
86+
7987
query T
8088
explain update t1 set a = a + 1 where a in (select a from t2) and b > 2;
8189
----
@@ -134,6 +142,16 @@ HashJoin: LEFT SEMI
134142
├── estimated rows: 4.00
135143
└── output rows: 4
136144

145+
query II
146+
select * from t1 order by a;
147+
----
148+
1 2
149+
2 3
150+
3 4
151+
8 9
152+
153+
154+
137155
statement ok
138156
CREATE OR REPLACE TABLE t1 (
139157
id INT,

0 commit comments

Comments
 (0)