2018-02-26 19:00:40 +00:00
|
|
|
<test>
|
|
|
|
<substitutions>
|
|
|
|
<substitution>
|
2019-07-27 21:17:44 +00:00
|
|
|
<name>hash_func</name>
|
2018-02-26 19:00:40 +00:00
|
|
|
<values>
|
2022-03-24 01:18:25 +00:00
|
|
|
<value>kostikConsistentHash</value>
|
2018-02-26 19:00:40 +00:00
|
|
|
<value>jumpConsistentHash</value>
|
|
|
|
</values>
|
|
|
|
</substitution>
|
|
|
|
<substitution>
|
2019-07-27 21:17:44 +00:00
|
|
|
<name>buckets</name>
|
2018-02-26 19:00:40 +00:00
|
|
|
<values>
|
|
|
|
<value>2</value>
|
|
|
|
<value>500</value>
|
2019-08-03 19:51:47 +00:00
|
|
|
<value>32768</value>
|
2018-02-26 19:00:40 +00:00
|
|
|
</values>
|
|
|
|
</substitution>
|
|
|
|
</substitutions>
|
|
|
|
|
2020-06-23 12:09:54 +00:00
|
|
|
<query short="{buckets} < 10">SELECT {hash_func}(number, {buckets}) FROM numbers(10000000) FORMAT Null</query>
|
2018-02-26 19:00:40 +00:00
|
|
|
</test>
|