2019-05-22 11:09:44 +00:00
|
|
|
<test>
|
|
|
|
|
2019-05-23 08:45:47 +00:00
|
|
|
<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
|
|
|
|
2019-05-24 08:38:49 +00:00
|
|
|
<fill_query>INSERT INTO table_{format} SELECT * FROM test.hits LIMIT 100000</fill_query>
|
2019-05-22 11:09:44 +00:00
|
|
|
|
|
|
|
|
2019-05-23 16:06:21 +00:00
|
|
|
|
2019-05-22 11:09:44 +00:00
|
|
|
|
|
|
|
<substitutions>
|
|
|
|
<substitution>
|
2019-07-27 21:17:44 +00:00
|
|
|
<name>format</name>
|
2019-05-22 11:09:44 +00:00
|
|
|
<values>
|
|
|
|
<value>TabSeparated</value>
|
|
|
|
<value>TabSeparatedWithNames</value>
|
|
|
|
<value>TabSeparatedWithNamesAndTypes</value>
|
|
|
|
<value>CSV</value>
|
|
|
|
<value>CSVWithNames</value>
|
|
|
|
<value>Values</value>
|
|
|
|
<value>JSONEachRow</value>
|
2019-12-05 10:13:40 +00:00
|
|
|
<value>JSONCompactEachRow</value>
|
|
|
|
<value>JSONCompactEachRowWithNamesAndTypes</value>
|
2019-05-22 11:09:44 +00:00
|
|
|
<value>TSKV</value>
|
2019-05-31 08:05:26 +00:00
|
|
|
<value>RowBinary</value>
|
|
|
|
<value>Native</value>
|
2020-01-18 20:10:11 +00:00
|
|
|
<value>Avro</value>
|
2020-04-12 21:59:28 +00:00
|
|
|
<value>MsgPack</value>
|
2019-05-22 11:09:44 +00:00
|
|
|
</values>
|
|
|
|
</substitution>
|
|
|
|
</substitutions>
|
|
|
|
|
|
|
|
<preconditions>
|
2019-05-23 08:45:47 +00:00
|
|
|
<table_exists>test.hits</table_exists>
|
2019-05-22 11:09:44 +00:00
|
|
|
</preconditions>
|
|
|
|
|
2020-04-15 19:07:50 +00:00
|
|
|
<query>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>
|
|
|
|
</test>
|