mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
28 lines
1.2 KiB
XML
28 lines
1.2 KiB
XML
<test>
|
|
<settings>
|
|
<max_threads>10</max_threads>
|
|
</settings>
|
|
<substitutions>
|
|
<substitution>
|
|
<name>items</name>
|
|
<values>
|
|
<value>1000</value>
|
|
<value>100000</value>
|
|
<value>10000000</value>
|
|
</values>
|
|
</substitution>
|
|
</substitutions>
|
|
|
|
<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 numbers({items})</fill_query>
|
|
<query>SELECT groupArraySorted(10)(id, value) FROM test</query>
|
|
<query>SELECT groupArraySorted(10)(text, value) FROM test</query>
|
|
<query>SELECT groupArraySorted(10)((id, text), value) FROM test</query>
|
|
<query>SELECT groupArraySorted(10)(text) FROM test</query>
|
|
<query>SELECT groupArraySorted(10000)(id, value) FROM test</query>
|
|
<query>SELECT groupArraySorted(10000)(text, value) FROM test</query>
|
|
<query>SELECT groupArraySorted(10000)((id, text), value) FROM test</query>
|
|
<query>SELECT groupArraySorted(10000)(text) FROM test</query>
|
|
<drop_query>DROP TABLE IF EXISTS test</drop_query>
|
|
</test>
|