mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
41 lines
1.2 KiB
XML
41 lines
1.2 KiB
XML
<test>
|
|
|
|
<preconditions>
|
|
<table_exists>test.hits</table_exists>
|
|
</preconditions>
|
|
|
|
<substitutions>
|
|
<substitution>
|
|
<name>format</name>
|
|
<values>
|
|
<value>TabSeparated</value>
|
|
<value>TabSeparatedWithNames</value>
|
|
<value>TabSeparatedWithNamesAndTypes</value>
|
|
<value>CSV</value>
|
|
<value>CSVWithNames</value>
|
|
<value>Values</value>
|
|
<value>JSONEachRow</value>
|
|
<value>JSONCompactEachRow</value>
|
|
<value>JSONCompactEachRowWithNamesAndTypes</value>
|
|
<value>TSKV</value>
|
|
<value>RowBinary</value>
|
|
<value>Native</value>
|
|
<value>Avro</value>
|
|
<value>MsgPack</value>
|
|
<value>ORC</value>
|
|
<value>Parquet</value>
|
|
<value>Arrow</value>
|
|
</values>
|
|
</substitution>
|
|
</substitutions>
|
|
|
|
<create_query>CREATE TABLE IF NOT EXISTS table_{format} ENGINE = File({format}) AS test.hits</create_query>
|
|
|
|
<fill_query>INSERT INTO table_{format} SELECT * FROM test.hits LIMIT 100000</fill_query>
|
|
|
|
<query short="'{format}' == 'Native'">SELECT * FROM table_{format} FORMAT Null</query>
|
|
|
|
<drop_query>DROP TABLE IF EXISTS table_{format}</drop_query>
|
|
|
|
</test>
|