mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Add a test.
This commit is contained in:
parent
5a4b001f8e
commit
dc10d7267f
@ -0,0 +1,10 @@
|
||||
drop table if exists tab;
|
||||
create table tab (x UInt32, y UInt32) engine = MergeTree order by x;
|
||||
|
||||
insert into tab select number, number from numbers(10);
|
||||
insert into tab select number, number from numbers(20);
|
||||
|
||||
set mutations_sync=2;
|
||||
|
||||
alter table tab delete where x > 1000 and y in (select sum(number + 1) from numbers_mt(1e7) group by number % 2 with totals);
|
||||
drop table if exists tab;
|
Loading…
Reference in New Issue
Block a user