2021-05-26 13:30:43 +00:00
|
|
|
<test>
|
2019-05-22 11:09:44 +00:00
|
|
|
|
2020-11-09 16:14:05 +00:00
|
|
|
<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>
|
2021-06-03 13:03:22 +00:00
|
|
|
<value>ORC</value>
|
|
|
|
<value>Parquet</value>
|
|
|
|
<value>Arrow</value>
|
2020-11-09 16:14:05 +00:00
|
|
|
</values>
|
|
|
|
</substitution>
|
|
|
|
</substitutions>
|
|
|
|
|
|
|
|
<create_query>CREATE TABLE IF NOT EXISTS table_{format} ENGINE = File({format}) AS test.hits</create_query>
|
2019-05-22 11:09:44 +00:00
|
|
|
|
2020-11-09 16:14:05 +00:00
|
|
|
<fill_query>INSERT INTO table_{format} SELECT * FROM test.hits LIMIT 100000</fill_query>
|
2019-05-22 11:09:44 +00:00
|
|
|
|
2021-03-31 13:04:55 +00:00
|
|
|
<query short="'{format}' == 'Native'">SELECT * FROM table_{format} FORMAT Null</query>
|
2019-05-22 11:09:44 +00:00
|
|
|
|
|
|
|
<drop_query>DROP TABLE IF EXISTS table_{format}</drop_query>
|
2020-11-09 16:14:05 +00:00
|
|
|
|
2019-05-22 11:09:44 +00:00
|
|
|
</test>
|