2019-05-23 10:37:19 +00:00
|
|
|
<test>
|
2019-05-23 16:06:21 +00:00
|
|
|
<type>loop</type>
|
2019-05-23 15:31:23 +00:00
|
|
|
|
2019-12-29 07:03:39 +00:00
|
|
|
<create_query>CREATE TABLE IF NOT EXISTS table_{format} ENGINE = File({format}, '/dev/null') AS test.hits</create_query>
|
2019-05-31 08:05:26 +00:00
|
|
|
|
2019-05-23 10:37:19 +00:00
|
|
|
<stop_conditions>
|
2019-05-23 16:06:21 +00:00
|
|
|
<all_of>
|
|
|
|
<iterations>5</iterations>
|
|
|
|
<min_time_not_changing_for_ms>10000</min_time_not_changing_for_ms>
|
|
|
|
</all_of>
|
2019-05-23 10:37:19 +00:00
|
|
|
<any_of>
|
2019-05-23 16:06:21 +00:00
|
|
|
<iterations>100</iterations>
|
|
|
|
<total_time_ms>60000</total_time_ms>
|
2019-05-23 10:37:19 +00:00
|
|
|
</any_of>
|
|
|
|
</stop_conditions>
|
|
|
|
|
2019-05-23 16:06:21 +00:00
|
|
|
|
2019-06-15 15:00:25 +00:00
|
|
|
<settings>
|
|
|
|
<output_format_pretty_max_rows>1000000</output_format_pretty_max_rows>
|
2019-12-30 19:16:12 +00:00
|
|
|
<max_threads>1</max_threads>
|
2019-06-15 15:00:25 +00:00
|
|
|
</settings>
|
2019-05-23 10:37:19 +00:00
|
|
|
|
|
|
|
<substitutions>
|
|
|
|
<substitution>
|
2019-07-27 21:17:44 +00:00
|
|
|
<name>format</name>
|
2019-05-23 10:37:19 +00:00
|
|
|
<values>
|
|
|
|
<value>TabSeparated</value>
|
|
|
|
<value>TabSeparatedRaw</value>
|
|
|
|
<value>CSV</value>
|
|
|
|
<value>Values</value>
|
|
|
|
<value>Vertical</value>
|
|
|
|
<value>JSON</value>
|
|
|
|
<value>JSONCompact</value>
|
|
|
|
<value>JSONEachRow</value>
|
2019-12-05 10:13:40 +00:00
|
|
|
<value>JSONCompactEachRow</value>
|
2019-05-23 10:37:19 +00:00
|
|
|
<value>TSKV</value>
|
|
|
|
<value>Pretty</value>
|
|
|
|
<value>PrettyCompact</value>
|
|
|
|
<value>PrettyCompactMonoBlock</value>
|
|
|
|
<value>PrettyNoEscapes</value>
|
2019-06-07 21:54:16 +00:00
|
|
|
<value>PrettySpace</value>
|
2019-05-31 08:05:26 +00:00
|
|
|
<value>RowBinary</value>
|
|
|
|
<value>Native</value>
|
2019-05-23 10:37:19 +00:00
|
|
|
<value>XML</value>
|
2019-06-15 19:06:02 +00:00
|
|
|
<value>ODBCDriver2</value>
|
2019-07-29 15:41:47 +00:00
|
|
|
<value>MySQLWire</value>
|
2020-01-18 20:10:11 +00:00
|
|
|
<value>Avro</value>
|
2019-05-23 10:37:19 +00:00
|
|
|
</values>
|
|
|
|
</substitution>
|
|
|
|
</substitutions>
|
|
|
|
|
|
|
|
<preconditions>
|
|
|
|
<table_exists>test.hits</table_exists>
|
|
|
|
</preconditions>
|
|
|
|
|
2019-05-31 08:05:26 +00:00
|
|
|
<query>INSERT INTO table_{format} SELECT * FROM test.hits LIMIT 100000</query>
|
|
|
|
|
|
|
|
<drop_query>DROP TABLE IF EXISTS table_{format}</drop_query>
|
2019-05-23 10:37:19 +00:00
|
|
|
|
|
|
|
</test>
|