ClickHouse/tests/performance/consistent_hashes.xml
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

33 lines
907 B
XML

<test>
<stop_conditions>
<any_of>
<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 numbers(1000000) FORMAT Null</query>
<!-- sumbur with high bucket numbers is very slow, so only test two buckers -->
<query>SELECT sumburConsistentHash(toUInt32(number), 2) FROM numbers(1000000) FORMAT Null</query>
</test>