ClickHouse/dbms/tests/queries/0_stateless/00274_shard_group_array.sql

6 lines
373 B
MySQL
Raw Normal View History

SELECT length(groupArray(number)), count() FROM (SELECT number FROM system.numbers_mt LIMIT 1000000);
2017-01-25 13:21:35 +00:00
SELECT groupArray(dummy), count() FROM remote('127.0.0.{1,2}', system.one);
SELECT length(groupArray(toString(number))), count() FROM (SELECT number FROM system.numbers LIMIT 100000);
2017-01-25 13:21:35 +00:00
SELECT groupArray(toString(dummy)), count() FROM remote('127.0.0.{1,2}', system.one);