mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 12:52:37 +00:00
11 lines
632 B
XML
11 lines
632 B
XML
<test>
|
|
<settings>
|
|
<allow_experimental_json_type>1</allow_experimental_json_type>
|
|
</settings>
|
|
|
|
<create_query>CREATE TABLE t_json (data JSON) ENGINE = MergeTree ORDER BY tuple() SETTINGS min_rows_for_wide_part=1000000000, min_bytes_for_wide_part=100000000000</create_query>
|
|
<fill_query>INSERT INTO t_json SELECT toJSONString(map(number % 10, repeat('a', number % 100))) FROM numbers(10000000)</fill_query>
|
|
<query>SELECT data.k0, data.k1, data.k2, data.k3, data.k4, data.k5, data.k6, data.k7, data.k8, data.k9 FROM t_json FORMAT Null</query>
|
|
<drop_query>DROP TABLE IF EXISTS t_json</drop_query>
|
|
</test>
|