mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Refactor 01709_inactive_parts_to_delay_throw
This commit is contained in:
parent
a6703c5ac2
commit
0bc672f3a2
@ -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;
|
@ -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;
|
Loading…
Reference in New Issue
Block a user