2020-10-30 15:12:15 +00:00
|
|
|
<test>
|
2019-07-16 17:13:12 +00:00
|
|
|
<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>
|
2019-07-16 17:13:12 +00:00
|
|
|
|
|
|
|
<drop_query>DROP TABLE IF EXISTS data</drop_query>
|
|
|
|
</test>
|