mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 19:42:00 +00:00
7 lines
373 B
MySQL
7 lines
373 B
MySQL
|
DROP TABLE IF EXISTS test.multidimensional;
|
||
|
CREATE TABLE test.multidimensional ENGINE = MergeTree ORDER BY number AS SELECT number, arrayMap(x -> (x, [x], [[x]], (x, toString(x))), arrayMap(x -> range(x), range(number % 10))) AS value FROM system.numbers LIMIT 100000;
|
||
|
|
||
|
SELECT sum(cityHash64(toString(value))) FROM test.multidimensional;
|
||
|
|
||
|
DROP TABLE test.multidimensional;
|