Skip to content

Commit 884b0bc

Browse files
committed
fix test
1 parent a660bed commit 884b0bc

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tests/sqllogictests/suites/ee/07_hilbert_clustering/07_0000_recluster_final.test

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ USE test_hilbert
2121
statement ok
2222
create or replace table t(a int, b int) cluster by hilbert(a, b) row_per_block=2 block_per_segment=2 block_size_threshold = 18;
2323

24+
statement ok
25+
set enable_block_stream_write = 0
26+
2427
statement ok
2528
set hilbert_clustering_min_bytes = 35;
2629

@@ -97,10 +100,10 @@ select * EXCLUDE(timestamp) from clustering_information('test_hilbert','t');
97100
statement ok
98101
alter table t recluster final;
99102

100-
query T
101-
select * EXCLUDE(timestamp) from clustering_information('test_hilbert','t');
103+
query II
104+
select info:partial_segment_count, info:unclustered_segment_count from clustering_information('test_hilbert','t');
102105
----
103-
(b, a) hilbert {"partial_block_count":0,"partial_segment_count":0,"stable_block_count":5,"stable_segment_count":2,"total_block_count":5,"total_segment_count":2,"unclustered_block_count":0,"unclustered_segment_count":0}
106+
0 0
104107

105108
########################################################
106109
# force eval as linear clustering by specify columns #

0 commit comments

Comments
 (0)