mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 01:54:55 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
9 lines
338 B
SQL
9 lines
338 B
SQL
DROP TABLE IF EXISTS numbers500k;
|
|
CREATE VIEW numbers500k AS SELECT number FROM system.numbers LIMIT 500000;
|
|
|
|
SET max_query_size = 1073741824;
|
|
|
|
SELECT count(*) FROM remote('127.0.0.{2,3}', currentDatabase(), numbers500k) WHERE bitmapContains((SELECT groupBitmapState(number) FROM numbers500k), toUInt32(number));
|
|
|
|
DROP TABLE numbers500k;
|