mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-16 04:32:33 +00:00
33 lines
912 B
XML
33 lines
912 B
XML
<test>
|
|
<type>once</type>
|
|
|
|
<stop_conditions>
|
|
<any_of>
|
|
<average_speed_not_changing_for_ms>6000</average_speed_not_changing_for_ms>
|
|
<total_time_ms>15000</total_time_ms>
|
|
</any_of>
|
|
</stop_conditions>
|
|
|
|
|
|
<substitutions>
|
|
<substitution>
|
|
<name>hash_func</name>
|
|
<values>
|
|
<value>yandexConsistentHash</value>
|
|
<value>jumpConsistentHash</value>
|
|
</values>
|
|
</substitution>
|
|
<substitution>
|
|
<name>buckets</name>
|
|
<values>
|
|
<value>2</value>
|
|
<value>500</value>
|
|
<value>32768</value>
|
|
</values>
|
|
</substitution>
|
|
</substitutions>
|
|
|
|
<query>SELECT {hash_func}(number, {buckets}) FROM system.numbers</query>
|
|
<query>SELECT sumburConsistentHash(toUInt32(number), {buckets}) FROM system.numbers</query>
|
|
</test>
|