mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 03:53:41 +00:00
14 lines
590 B
XML
14 lines
590 B
XML
<test>
|
|
<create_query>DROP TABLE IF EXISTS test_lc_query</create_query>
|
|
<create_query>
|
|
CREATE TABLE test_lc_query (x UInt64, lc LowCardinality(Nullable(String))) ENGINE = MergeTree order by x
|
|
</create_query>
|
|
|
|
<fill_query>INSERT INTO test_lc_query SELECT number, toString(number % 100) FROM numbers(1e7)</fill_query>
|
|
|
|
<query>SELECT count() FROM test_lc_query WHERE lc = '12' OR lc = '34'</query>
|
|
<query>SELECT count() FROM test_lc_query WHERE lc = '12' OR lc = '34' OR lc = '56'</query>
|
|
|
|
<drop_query>DROP TABLE IF EXISTS test_lc_query</drop_query>
|
|
</test>
|