Fix test 02428_delete_with_settings

This commit is contained in:
Alexey Milovidov 2023-08-10 02:37:23 +02:00
parent aff0a85cd4
commit eb61074e07

View File

@ -1,5 +1,5 @@
drop table if exists test;
create table test (id Int32, key String) engine=MergeTree() order by tuple();
create table test (id Int32, key String) engine=MergeTree() order by tuple() settings index_granularity = 8192, index_granularity_bytes = '10Mi';
insert into test select number, toString(number) from numbers(1000000);
delete from test where id % 2 = 0 SETTINGS mutations_sync=0;
select count() from test;