mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Reduce hashed_dictionary.xml
This commit is contained in:
parent
39eaa8dc9c
commit
2aa6690f2c
@ -82,7 +82,6 @@
|
||||
<name>elements_count</name>
|
||||
<values>
|
||||
<value>5000000</value>
|
||||
<value>7500000</value>
|
||||
</values>
|
||||
</substitution>
|
||||
</substitutions>
|
||||
@ -90,16 +89,14 @@
|
||||
<query>
|
||||
WITH rand64() % toUInt64({elements_count}) as key
|
||||
SELECT dictGet('default.simple_key_hashed_dictionary', {column_name}, key)
|
||||
FROM system.numbers
|
||||
LIMIT {elements_count}
|
||||
FROM numbers_mt({elements_count})
|
||||
FORMAT Null;
|
||||
</query>
|
||||
|
||||
<query>
|
||||
WITH rand64() % toUInt64({elements_count}) as key
|
||||
SELECT dictHas('default.simple_key_hashed_dictionary', key)
|
||||
FROM system.numbers
|
||||
LIMIT {elements_count}
|
||||
FROM numbers_mt({elements_count})
|
||||
FORMAT Null;
|
||||
</query>
|
||||
|
||||
@ -111,16 +108,14 @@
|
||||
<query>
|
||||
WITH (rand64() % toUInt64({elements_count}), toString(rand64() % toUInt64({elements_count}))) as key
|
||||
SELECT dictGet('default.complex_key_hashed_dictionary', {column_name}, key)
|
||||
FROM system.numbers
|
||||
LIMIT {elements_count}
|
||||
FROM numbers_mt({elements_count})
|
||||
FORMAT Null;
|
||||
</query>
|
||||
|
||||
<query>
|
||||
WITH (rand64() % toUInt64({elements_count}), toString(rand64() % toUInt64({elements_count}))) as key
|
||||
SELECT dictHas('default.complex_key_hashed_dictionary', key)
|
||||
FROM system.numbers
|
||||
LIMIT {elements_count}
|
||||
FROM numbers_mt({elements_count})
|
||||
FORMAT Null;
|
||||
</query>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user