ClickHouse/tests/performance/sort_patterns.xml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
991 B
XML
Raw Normal View History

2023-09-21 11:20:11 +00:00
<test>
<substitutions>
<substitution>
<name>integer_type</name>
<values>
<value>UInt32</value>
<value>UInt64</value>
</values>
</substitution>
2023-09-22 09:25:13 +00:00
<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>
2023-09-21 11:20:11 +00:00
</substitutions>
<create_query>CREATE TABLE sequential_{integer_type} (key {integer_type}, value {integer_type}) Engine = Memory</create_query>
2023-09-22 09:25:13 +00:00
<fill_query>INSERT INTO sequential_{integer_type} SELECT number, number FROM numbers(500000000)</fill_query>
2023-09-21 11:20:11 +00:00
2023-09-22 09:25:13 +00:00
<query>SELECT key, value FROM sequential_{integer_type} ORDER BY {sort_expression} FORMAT Null</query>
2023-09-21 11:20:11 +00:00
<drop_query>DROP TABLE IF EXISTS sequential_{integer_type}</drop_query>
</test>