mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
performance test for some functions that use hash tables
This commit is contained in:
parent
50df893dc6
commit
09ea7253cd
8
tests/performance/functions_with_hash_tables.xml
Normal file
8
tests/performance/functions_with_hash_tables.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<test>
|
||||
<query>select arrayUniq(range(1 + (number % 10) * 10)) from numbers(1000000) format Null</query>
|
||||
<query>select arrayDistinct(range(1 + (number % 10) * 10)) from numbers(1000000) format Null</query>
|
||||
<query>select arrayEnumerateUniq(range(1 + (number % 10) * 10)) from numbers(1000000) format Null</query>
|
||||
<query>select arrayIntersect(range((1 + number % 10)), range(1, (1 + number % 10) + 1)) from numbers(1000000) format Null</query>
|
||||
<query>select groupUniqArray(number / 10) from numbers(1000 * 1000) group by number / 1000 format Null</query>
|
||||
<query>select entropy(number / 10) from numbers(1000 * 1000) group by number / 1000 format Null</query>
|
||||
</test>
|
Loading…
Reference in New Issue
Block a user