2021-12-29 15:56:58 +00:00
|
|
|
<test>
|
2022-04-05 21:10:23 +00:00
|
|
|
<create_query>CREATE TABLE test (`id` UInt64, `value` UInt64, `text` String ) ENGINE = Memory</create_query>
|
|
|
|
<fill_query>INSERT INTO test SELECT number as id, rand64() as value, toString(number) as text FROM system.numbers_mt LIMIT 10000000</fill_query>
|
|
|
|
|
|
|
|
<query>SELECT groupArraySorted(100000)(id, value) FROM test</query>
|
|
|
|
<query>SELECT groupArraySorted(100000)(text, value) FROM test</query>
|
|
|
|
<query>SELECT groupArraySorted(100000)((id, text), value) FROM test</query>
|
|
|
|
<query>SELECT groupArraySorted(100000)(text) FROM test</query>
|
2021-12-29 15:56:58 +00:00
|
|
|
|
|
|
|
<drop_query>DROP TABLE IF EXISTS test</drop_query>
|
|
|
|
</test>
|