ClickHouse/tests/queries/0_stateless/00274_shard_group_array.sql
2021-09-12 17:15:28 +03:00

8 lines
389 B
SQL

-- Tags: shard
SELECT length(groupArray(number)), count() FROM (SELECT number FROM system.numbers_mt LIMIT 1000000);
SELECT groupArray(dummy), count() FROM remote('127.0.0.{2,3}', system.one);
SELECT length(groupArray(toString(number))), count() FROM (SELECT number FROM system.numbers LIMIT 100000);
SELECT groupArray(toString(dummy)), count() FROM remote('127.0.0.{2,3}', system.one);