Added test.

This commit is contained in:
Nikolai Kochetov 2020-05-26 13:37:10 +03:00
parent 54f50745ec
commit b16936ba9d
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1 @@
49999995000000

View File

@ -0,0 +1,7 @@
drop table if exists num_10m;
create table num_10m (number UInt64) engine = MergeTree order by tuple();
insert into num_10m select * from numbers(10000000);
select * from (select sum(number) from num_10m union all select sum(number) from num_10m) limit 1 settings max_block_size = 1024;
drop table if exists num_1m;