mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Cover inactive_parts_to_throw_insert=0 and inactive_parts_to_delay_insert>0
This commit is contained in:
parent
0bc672f3a2
commit
90f3c9ccd1
@ -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;
|
Loading…
Reference in New Issue
Block a user