dbms: fixed a test. [#METR-11017]

This commit is contained in:
Michael Kolupaev 2014-05-07 14:44:50 +04:00
parent fed3d5ec68
commit 892704d332
2 changed files with 8 additions and 6 deletions

View File

@ -1,6 +1,7 @@
1000000
1000000
1000000 499999500000
1000000 126992025
1000000
1000000 499999500000
1000000 126992025
1000000
1000000 126992025

View File

@ -5,9 +5,10 @@ INSERT INTO test.big_array SELECT groupArray(number % 255) AS x FROM (SELECT * F
SELECT count() FROM test.big_array ARRAY JOIN x;
SELECT count() FROM test.big_array ARRAY JOIN x AS y;
SELECT countIf(has(x, toUInt64(10))), sum(y) FROM test.big_array ARRAY JOIN x AS y;
SELECT countIf(has(x, toUInt64(10))) FROM test.big_array ARRAY JOIN x AS y;
SELECT countIf(has(x, toUInt64(10))), sum(y) FROM test.big_array ARRAY JOIN x AS y WHERE 1;
SELECT countIf(has(x, toUInt64(10))) FROM test.big_array ARRAY JOIN x AS y WHERE 1;
SELECT countIf(has(x, 10)), sum(y) FROM test.big_array ARRAY JOIN x AS y;
SELECT countIf(has(x, 10)) FROM test.big_array ARRAY JOIN x AS y;
SELECT countIf(has(x, 10)), sum(y) FROM test.big_array ARRAY JOIN x AS y WHERE 1;
SELECT countIf(has(x, 10)) FROM test.big_array ARRAY JOIN x AS y WHERE 1;
SELECT countIf(has(x, 10)), sum(y) FROM test.big_array ARRAY JOIN x AS y WHERE has(x,15);
DROP TABLE test.big_array;