mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
aa5fc05a55
This reverts commitf6dee5fe3c
, reversing changes made tof96bda1deb
.
29 lines
991 B
XML
29 lines
991 B
XML
<test>
|
|
<substitutions>
|
|
<substitution>
|
|
<name>integer_type</name>
|
|
<values>
|
|
<value>UInt32</value>
|
|
<value>UInt64</value>
|
|
</values>
|
|
</substitution>
|
|
<substitution>
|
|
<name>sort_expression</name>
|
|
<values>
|
|
<value>key</value>
|
|
<value>key, value</value>
|
|
<value>key DESC</value>
|
|
<value>key DESC, value DESC</value>
|
|
</values>
|
|
</substitution>
|
|
</substitutions>
|
|
|
|
<create_query>CREATE TABLE sequential_{integer_type} (key {integer_type}, value {integer_type}) Engine = Memory</create_query>
|
|
|
|
<fill_query>INSERT INTO sequential_{integer_type} SELECT number, number FROM numbers(500000000)</fill_query>
|
|
|
|
<query>SELECT key, value FROM sequential_{integer_type} ORDER BY {sort_expression} FORMAT Null</query>
|
|
|
|
<drop_query>DROP TABLE IF EXISTS sequential_{integer_type}</drop_query>
|
|
</test>
|