mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
12 lines
510 B
XML
12 lines
510 B
XML
<test>
|
|
<create_query>DROP TABLE IF EXISTS test_lc_insert</create_query>
|
|
<create_query>
|
|
CREATE TABLE test_lc_insert (k1 LowCardinality(String), k2 LowCardinality(String)) ENGINE = MergeTree order by (k1, k2)
|
|
</create_query>
|
|
|
|
<!-- INSERT will do sorting on k1 and k2 LowCardinality columns -->
|
|
<query>INSERT INTO test_lc_insert(k1, k2) SELECT number%1000 AS k1, number%1001 AS k2 FROM numbers(2000000)</query>
|
|
|
|
<drop_query>DROP TABLE IF EXISTS test_lc_insert</drop_query>
|
|
</test>
|