mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
25 lines
813 B
XML
25 lines
813 B
XML
<test>
|
|
<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 short="{buckets} < 10">SELECT {hash_func}(number, {buckets}) FROM numbers(10000000) FORMAT Null</query>
|
|
|
|
<!-- sumbur with high bucket numbers is very slow, so only test two buckers -->
|
|
<query short="1">SELECT sumburConsistentHash(toUInt32(number), 2) FROM numbers(10000000) FORMAT Null</query>
|
|
</test>
|