Added test.

This commit is contained in:
Nikolai Kochetov 2020-06-15 15:04:30 +03:00
parent ccf2ceb876
commit f9c4721ba2
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
drop table if exists final_bug;
create table final_bug (x UInt64, y UInt8) engine = ReplacingMergeTree(y) order by x settings index_granularity = 8;
insert into final_bug select number % 10, 1 from numbers(1000);
insert into final_bug select number % 10, 1 from numbers(1000);
select x from final_bug final order by x settings max_threads=2, max_final_threads=2, max_block_size=8 format Null;
drop table if exists final_bug;