Added another test for multidimensional columns [#CLICKHOUSE-2838].

This commit is contained in:
Alexey Milovidov 2017-12-03 11:35:08 +03:00
parent 7b447bc1e4
commit 73d65ec4d4
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1 @@
7844572287640286896

View File

@ -0,0 +1,8 @@
SET experimental_allow_extended_storage_definition_syntax = 1;
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;