ClickHouse/tests/performance/number_formatting_formats.xml
2020-04-30 08:10:34 +03:00

35 lines
1.1 KiB
XML

<test>
<create_query>CREATE TABLE IF NOT EXISTS table_{format} (x UInt64) ENGINE = File(`{format}`)</create_query>
<substitutions>
<substitution>
<name>format</name>
<values>
<value>TabSeparated</value>
<value>CSV</value>
<value>Values</value>
<value>JSON</value>
<value>JSONCompact</value>
<value>JSONEachRow</value>
<value>TSKV</value>
<value>RowBinary</value>
<value>Native</value>
<value>XML</value>
<value>Parquet</value>
<value>ODBCDriver2</value>
<value>Null</value>
<value>MySQLWire</value>
</values>
</substitution>
</substitutions>
<preconditions>
<table_exists>test.hits</table_exists>
</preconditions>
<query>INSERT INTO table_{format} SELECT number FROM numbers(10000000)</query>
<drop_query>DROP TABLE IF EXISTS table_{format}</drop_query>
</test>