ClickHouse/tests/performance/count.xml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
501 B
XML
Raw Normal View History

<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>
2020-06-26 19:11:43 +00:00
<query tag='count_10M' short='1'>SELECT count() FROM data</query>
2021-11-26 08:06:37 +00:00
<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>