mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
tests/performance: do not use scientific notation in hashed_dictionary_sharded
v2: fix few mistakes Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
a3f189e191
commit
925fd2c33a
@ -60,8 +60,8 @@
|
|||||||
LIFETIME(0)
|
LIFETIME(0)
|
||||||
</create_query>
|
</create_query>
|
||||||
|
|
||||||
<fill_query>INSERT INTO simple_key_dictionary_source_table SELECT number, number FROM numbers(3e6)</fill_query>
|
<fill_query>INSERT INTO simple_key_dictionary_source_table SELECT number, number FROM numbers(3_000_000)</fill_query>
|
||||||
<fill_query>INSERT INTO complex_key_dictionary_source_table SELECT number, toString(number), number FROM numbers(2e6)</fill_query>
|
<fill_query>INSERT INTO complex_key_dictionary_source_table SELECT number, toString(number), number FROM numbers(2_000_000)</fill_query>
|
||||||
|
|
||||||
<fill_query>SYSTEM RELOAD DICTIONARY simple_key_{layout_suffix}_dictionary_s{shards}</fill_query>
|
<fill_query>SYSTEM RELOAD DICTIONARY simple_key_{layout_suffix}_dictionary_s{shards}</fill_query>
|
||||||
<fill_query>SYSTEM RELOAD DICTIONARY complex_key_{layout_suffix}_dictionary_s{shards}</fill_query>
|
<fill_query>SYSTEM RELOAD DICTIONARY complex_key_{layout_suffix}_dictionary_s{shards}</fill_query>
|
||||||
@ -70,18 +70,16 @@
|
|||||||
<query>SYSTEM RELOAD DICTIONARY complex_key_{layout_suffix}_dictionary_s{shards}</query>
|
<query>SYSTEM RELOAD DICTIONARY complex_key_{layout_suffix}_dictionary_s{shards}</query>
|
||||||
|
|
||||||
<query>
|
<query>
|
||||||
WITH rand64() % toUInt64(5e6) as key
|
WITH rand64() % 3_000_000 as key
|
||||||
SELECT dictHas('default.simple_key_{layout_suffix}_dictionary_s{shards}', key)
|
SELECT dictHas('default.simple_key_{layout_suffix}_dictionary_s{shards}', key)
|
||||||
FROM system.numbers
|
FROM numbers(3_000_000)
|
||||||
LIMIT 3e6
|
|
||||||
FORMAT Null
|
FORMAT Null
|
||||||
</query>
|
</query>
|
||||||
|
|
||||||
<query>
|
<query>
|
||||||
WITH (rand64() % toUInt64(2e6), toString(rand64() % toUInt64(2e6))) as key
|
WITH (rand64() % 2_000_000, toString(rand64() % 2_000_000)) as key
|
||||||
SELECT dictHas('default.complex_key_{layout_suffix}_dictionary_s{shards}', key)
|
SELECT dictHas('default.complex_key_{layout_suffix}_dictionary_s{shards}', key)
|
||||||
FROM system.numbers
|
FROM numbers(2_000_000)
|
||||||
LIMIT 2e6
|
|
||||||
FORMAT Null
|
FORMAT Null
|
||||||
</query>
|
</query>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user