Skip to content

Commit 27a1b4c

Browse files
committed
fix
1 parent bfac13a commit 27a1b4c

File tree

4 files changed

+17
-8
lines changed

4 files changed

+17
-8
lines changed

tests/sqllogictests/suites/ee/09_ee_vector_index/09_0000_vector_index_base.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ RowFetch
9595
├── limit: 5
9696
├── offset: 0
9797
├── estimated rows: 5.00
98-
└── Sort
98+
└── Sort(Single)
9999
├── output columns: [t._vector_score (#2), t._row_id (#3)]
100100
├── sort keys: [_vector_score ASC NULLS LAST]
101101
├── estimated rows: 16.00

tests/sqllogictests/suites/mode/cluster/create_table.test

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
statement ok
2+
set enable_shuffle_sort = 0;
3+
14
query T
25
explain create or replace table t2 as select number % 400 d, max(number) from numbers(10000000) group by number limit 3;
36
----
@@ -12,14 +15,14 @@ EvalScalar
1215
├── limit: 3
1316
├── offset: 0
1417
├── estimated rows: 3.00
15-
└── Sort
18+
└── Sort(Final)
1619
├── output columns: [max(number) (#1), numbers.number (#0)]
1720
├── sort keys: [number ASC NULLS LAST]
1821
├── estimated rows: 10000000.00
1922
└── Exchange
2023
├── output columns: [max(number) (#1), numbers.number (#0), #_order_col]
2124
├── exchange type: Merge
22-
└── Sort
25+
└── Sort(Partial)
2326
├── output columns: [max(number) (#1), numbers.number (#0), #_order_col]
2427
├── sort keys: [number ASC NULLS LAST]
2528
├── estimated rows: 10000000.00

tests/sqllogictests/suites/mode/cluster/explain_v2.test

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ drop table if exists t2 all;
77
statement ok
88
set max_threads = 1;
99

10+
statement ok
11+
set enable_shuffle_sort = 0;
12+
1013
statement ok
1114
create table t1(a int not null, b int not null) as select number as a, number+1 as b from numbers(100);
1215

@@ -180,7 +183,7 @@ Limit
180183
├── limit: 10
181184
├── offset: 0
182185
├── estimated rows: 1.00
183-
└── Sort
186+
└── Sort(Single)
184187
├── output columns: [count(1) (#2), count(b) (#3), max(a) (#4)]
185188
├── sort keys: [count(1) ASC NULLS LAST, max(a) ASC NULLS LAST, count(b) ASC NULLS LAST]
186189
├── estimated rows: 1.00
@@ -206,14 +209,14 @@ Limit
206209
├── limit: 10
207210
├── offset: 0
208211
├── estimated rows: 10.00
209-
└── Sort
212+
└── Sort(Final)
210213
├── output columns: [c (#4), d (#5), e (#6)]
211214
├── sort keys: [c ASC NULLS LAST, d ASC NULLS LAST, e ASC NULLS LAST]
212215
├── estimated rows: 100.00
213216
└── Exchange
214217
├── output columns: [c (#4), d (#5), e (#6), #_order_col]
215218
├── exchange type: Merge
216-
└── Sort
219+
└── Sort(Partial)
217220
├── output columns: [c (#4), d (#5), e (#6), #_order_col]
218221
├── sort keys: [c ASC NULLS LAST, d ASC NULLS LAST, e ASC NULLS LAST]
219222
├── estimated rows: 100.00
@@ -311,14 +314,14 @@ Limit
311314
├── limit: 3
312315
├── offset: 0
313316
├── estimated rows: 3.00
314-
└── Sort
317+
└── Sort(Final)
315318
├── output columns: [numbers.number (#0)]
316319
├── sort keys: [number ASC NULLS LAST]
317320
├── estimated rows: 10.00
318321
└── Exchange
319322
├── output columns: [numbers.number (#0), #_order_col]
320323
├── exchange type: Merge
321-
└── Sort
324+
└── Sort(Partial)
322325
├── output columns: [numbers.number (#0), #_order_col]
323326
├── sort keys: [number ASC NULLS LAST]
324327
├── estimated rows: 10.00

tests/sqllogictests/suites/mode/cluster/shuffle.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ insert into t2 select * from numbers(8);
1616
statement ok
1717
set disable_join_reorder = 1;
1818

19+
statement ok
20+
set enable_shuffle_sort = 0;
21+
1922
query T
2023
explain select * from (select t1.number, t2.number from t1 right outer join (SELECT number FROM t2 QUALIFY row_number() OVER (PARTITION BY number ORDER BY number DESC ) = 1) AS t2 ON t1.number = t2.number) as tt(a, b) order by a;
2124
----

0 commit comments

Comments
 (0)