mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
12 lines
501 B
XML
12 lines
501 B
XML
<test>
|
|
<create_query>CREATE TABLE data(k UInt64, v UInt64) ENGINE = MergeTree ORDER BY k</create_query>
|
|
|
|
<fill_query>INSERT INTO data SELECT number, 1 from numbers(10000000)</fill_query>
|
|
|
|
<query tag='count_10M' short='1'>SELECT count() FROM data</query>
|
|
<query>SELECT count(k) FROM (SELECT k FROM data, numbers(20) _a)</query>
|
|
<query>SELECT count(k) FROM (SELECT toNullable(k) as k FROM data, numbers(20) _a)</query>
|
|
|
|
<drop_query>DROP TABLE IF EXISTS data</drop_query>
|
|
</test>
|