Update 00284_external_aggregation

This commit is contained in:
Nikolai Kochetov 2019-08-22 20:08:10 +03:00
parent a50d6e7132
commit b6c8a49244

View File

@ -1,5 +1,5 @@
SET max_bytes_before_external_group_by = 100000000;
SET max_memory_usage = 301000000;
SET max_memory_usage = 351000000;
SELECT sum(k), sum(c) FROM (SELECT number AS k, count() AS c FROM (SELECT * FROM system.numbers LIMIT 10000000) GROUP BY k);
SELECT sum(k), sum(c), max(u) FROM (SELECT number AS k, count() AS c, uniqArray(range(number % 16)) AS u FROM (SELECT * FROM system.numbers LIMIT 1000000) GROUP BY k);