ClickHouse/tests/performance/select_format.xml

56 lines
2.0 KiB
XML
Raw Normal View History

<test>
<settings>
<output_format_pretty_max_rows>1000000</output_format_pretty_max_rows>
<max_threads>1</max_threads>
</settings>
<substitutions>
<substitution>
2020-04-30 05:10:13 +00:00
<name>format_slow</name>
<values>
<value>Pretty</value>
<value>PrettyCompact</value>
<value>PrettyCompactMonoBlock</value>
<value>PrettyNoEscapes</value>
<value>PrettySpace</value>
<value>MySQLWire</value>
<value>XML</value>
</values>
</substitution>
<substitution>
<name>format_fast</name>
<values>
<value>TabSeparated</value>
<value>TabSeparatedRaw</value>
<value>CSV</value>
<value>Values</value>
<value>Vertical</value>
<value>JSON</value>
<value>JSONCompact</value>
<value>JSONEachRow</value>
<value>JSONCompactEachRow</value>
<value>TSKV</value>
<value>RowBinary</value>
<value>Native</value>
<value>ODBCDriver2</value>
2020-01-18 20:10:11 +00:00
<value>Avro</value>
2020-04-17 09:35:38 +00:00
<value>MsgPack</value>
<value>ORC</value>
</values>
</substitution>
</substitutions>
<preconditions>
<table_exists>test.hits</table_exists>
</preconditions>
2020-04-30 05:10:13 +00:00
<create_query>CREATE TABLE IF NOT EXISTS table_{format_slow} ENGINE = File({format_slow}, '/dev/null') AS test.hits</create_query>
<create_query>CREATE TABLE IF NOT EXISTS table_{format_fast} ENGINE = File({format_fast}, '/dev/null') AS test.hits</create_query>
2020-04-30 05:10:13 +00:00
<query>INSERT INTO table_{format_slow} SELECT * FROM test.hits LIMIT 10000</query>
<query>INSERT INTO table_{format_fast} SELECT * FROM test.hits LIMIT 100000</query>
2020-04-30 05:10:13 +00:00
<drop_query>DROP TABLE IF EXISTS table_{format_slow}</drop_query>
<drop_query>DROP TABLE IF EXISTS table_{format_fast}</drop_query>
</test>