ClickHouse/tests/queries/0_stateless/02428_delete_with_settings.sql
2023-03-01 19:35:55 +01:00

6 lines
264 B
SQL

drop table if exists test;
create table test (id Int32, key String) engine=MergeTree() order by tuple();
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;