mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
100c055510
* impl * stash * clean up * do not apply when HT is small * make branch static * also in merge * do not hardcode look ahead value * fix * apply to methods with cheap key calculation * more tests * silence tidy * fix build * support HashMethodKeysFixed * apply during merge only for cheap * stash * fixes * rename method * add feature flag * cache prefetch threshold value * fix * fix * Update HashMap.h * fix typo * 256KB as default l2 size Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
33 lines
1.1 KiB
XML
33 lines
1.1 KiB
XML
<test>
|
|
<substitutions>
|
|
<substitution>
|
|
<name>size</name>
|
|
<values>
|
|
<value>10000000</value>
|
|
<value>50000000</value>
|
|
</values>
|
|
</substitution>
|
|
<substitution>
|
|
<name>table</name>
|
|
<values>
|
|
<value>numbers</value>
|
|
<value>numbers_mt</value>
|
|
</values>
|
|
</substitution>
|
|
</substitutions>
|
|
|
|
<create_query>create table t_str_key_{size}(a String, b FixedString(25)) engine=MergeTree order by tuple()</create_query>
|
|
<fill_query>insert into t_str_key_{size} select toString(number) as s, toFixedString(s, 25) from numbers_mt({size})</fill_query>
|
|
|
|
<query>select a from t_str_key_{size} group by a format Null</query>
|
|
<query>select b from t_str_key_{size} group by b format Null</query>
|
|
|
|
<query>select number from {table}({size}) group by number format Null</query>
|
|
<query>select count() from {table}({size}) group by number format Null</query>
|
|
|
|
<query>select number from numbers_mt(1e8) group by number format Null</query>
|
|
<query>select count() from numbers_mt(1e8) group by number format Null</query>
|
|
|
|
<drop_query>drop table t_str_key_{size}</drop_query>
|
|
</test>
|