Refactor 01709_inactive_parts_to_delay_throw

This commit is contained in:
Azat Khuzhin 2021-04-10 09:49:12 +03:00
parent a6703c5ac2
commit 0bc672f3a2
3 changed files with 12 additions and 12 deletions

View File

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

View File

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