ClickHouse/tests/queries/0_stateless/02428_delete_with_settings.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
332 B
MySQL
Raw Normal View History

2022-09-19 18:58:21 +00:00
drop table if exists test;
2023-08-10 00:37:23 +00:00
create table test (id Int32, key String) engine=MergeTree() order by tuple() settings index_granularity = 8192, index_granularity_bytes = '10Mi';
2022-09-19 18:58:21 +00:00
insert into test select number, toString(number) from numbers(1000000);
delete from test where id % 2 = 0 SETTINGS mutations_sync=0;
2022-09-19 18:58:21 +00:00
select count() from test;