mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
7beb58b0cf
* impl for uniqExact
* rm unused (read|write)Text methods
* fix style
* small fixes
* impl for variadic uniqExact
* refactor
* fix style
* more agressive inlining
* disable if max_threads=1
* small improvements
* review fixes
* Revert "rm unused (read|write)Text methods"
This reverts commit a7e7480584
.
* encapsulate is_able_to_parallelize_merge in Data
* encapsulate is_exact & argument_is_tuple in Data
34 lines
1.2 KiB
XML
34 lines
1.2 KiB
XML
<test>
|
|
<substitutions>
|
|
<substitution>
|
|
<name>uniq_keys</name>
|
|
<values>
|
|
<value>10000</value>
|
|
<value>50000</value>
|
|
<value>100000</value>
|
|
<value>250000</value>
|
|
<value>500000</value>
|
|
<value>1000000</value>
|
|
</values>
|
|
</substitution>
|
|
</substitutions>
|
|
|
|
<create_query>create table t_{uniq_keys}(a UInt64) engine=MergeTree order by tuple()</create_query>
|
|
|
|
<fill_query>insert into t_{uniq_keys} select number % {uniq_keys} from numbers_mt(5e7)</fill_query>
|
|
|
|
<query>SELECT count(distinct a) FROM t_{uniq_keys} GROUP BY a FORMAT Null</query>
|
|
<query>SELECT uniqExact(a) FROM t_{uniq_keys} GROUP BY a FORMAT Null</query>
|
|
|
|
<query>SELECT count(distinct a) FROM t_{uniq_keys}</query>
|
|
<query>SELECT uniqExact(a) FROM t_{uniq_keys}</query>
|
|
|
|
<query>SELECT uniqExact(number) from numbers_mt(1e7)</query>
|
|
<query>SELECT uniqExact(number) from numbers_mt(5e7)</query>
|
|
|
|
<query>SELECT uniqExact(number, number) from numbers_mt(5e6)</query>
|
|
<query>SELECT uniqExact(number, number) from numbers_mt(1e7)</query>
|
|
|
|
<drop_query>drop table t_{uniq_keys}</drop_query>
|
|
</test>
|