mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 17:32:32 +00:00
12 lines
627 B
XML
12 lines
627 B
XML
<test>
|
|
<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>
|
|
|
|
<drop_query>DROP TABLE IF EXISTS test</drop_query>
|
|
</test>
|