dbms: added tests [#METR-2944].

This commit is contained in:
Alexey Milovidov 2014-04-29 05:18:28 +04:00
parent 7d395ac826
commit 8ad9d10c4f
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,2 @@
SELECT max(arrayJoin(arr)) FROM (SELECT arrayEnumerateUniq(groupArray(intDiv(number, 54321)) AS nums, groupArray(toString(intDiv(number, 98765)))) AS arr FROM (SELECT number FROM system.numbers LIMIT 1000000) GROUP BY intHash32(number) % 100000)