mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
49 lines
1.5 KiB
XML
49 lines
1.5 KiB
XML
<test>
|
|
|
|
<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>
|
|
|
|
<stop_conditions>
|
|
<all_of>
|
|
<iterations>5</iterations>
|
|
<min_time_not_changing_for_ms>10000</min_time_not_changing_for_ms>
|
|
</all_of>
|
|
<any_of>
|
|
<iterations>100</iterations>
|
|
<total_time_ms>60000</total_time_ms>
|
|
</any_of>
|
|
</stop_conditions>
|
|
|
|
|
|
|
|
<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>
|
|
</values>
|
|
</substitution>
|
|
</substitutions>
|
|
|
|
<preconditions>
|
|
<table_exists>test.hits</table_exists>
|
|
</preconditions>
|
|
|
|
<query>SELECT * FROM table_{format}</query>
|
|
|
|
<drop_query>DROP TABLE IF EXISTS table_{format}</drop_query>
|
|
</test>
|