diff --git a/tests/queries/0_stateless/01809_inactive_parts_to_delay_throw_insert.reference b/tests/queries/0_stateless/01809_inactive_parts_to_delay_throw_insert.reference new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/queries/0_stateless/01809_inactive_parts_to_delay_throw_insert.sql b/tests/queries/0_stateless/01809_inactive_parts_to_delay_throw_insert.sql new file mode 100644 index 00000000000..e9bbfe69421 --- /dev/null +++ b/tests/queries/0_stateless/01809_inactive_parts_to_delay_throw_insert.sql @@ -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;