Cover inactive_parts_to_throw_insert=0 and inactive_parts_to_delay_insert>0

This commit is contained in:
Azat Khuzhin 2021-04-10 09:53:22 +03:00
parent 0bc672f3a2
commit 90f3c9ccd1
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
drop table if exists data_01809;
create table data_01809 (i int) engine MergeTree order by i settings old_parts_lifetime = 10000000000, min_bytes_for_wide_part = 0, inactive_parts_to_throw_insert = 0, inactive_parts_to_delay_insert = 1;
insert into data_01809 values (1);
insert into data_01809 values (2);
optimize table data_01809 final;
insert into data_01809 values (3);
drop table data_01809;