2019-05-23 10:37:19 +00:00
|
|
|
<test>
|
|
|
|
<name>test_select_format</name>
|
2019-05-23 15:31:23 +00:00
|
|
|
|
|
|
|
<type>once</type>
|
|
|
|
|
2019-05-23 10:37:19 +00:00
|
|
|
<stop_conditions>
|
|
|
|
<any_of>
|
2019-05-23 15:31:23 +00:00
|
|
|
<average_speed_not_changing_for_ms>5000<average_speed_not_changing_for_ms>
|
|
|
|
<total_time_ms>30000</total_time_ms>
|
2019-05-23 10:37:19 +00:00
|
|
|
</any_of>
|
|
|
|
</stop_conditions>
|
|
|
|
|
2019-05-23 15:31:23 +00:00
|
|
|
<metrics>
|
|
|
|
<!-- For running one inifinite query -->
|
|
|
|
<max_rows_per_second />
|
|
|
|
<max_bytes_per_second />
|
|
|
|
<avg_rows_per_second />
|
|
|
|
<avg_bytes_per_second />
|
|
|
|
</metrics>
|
2019-05-23 10:37:19 +00:00
|
|
|
|
|
|
|
<substitutions>
|
|
|
|
<substitution>
|
|
|
|
<name>format</name>
|
|
|
|
<values>
|
|
|
|
<value>TabSeparated</value>
|
|
|
|
<value>TabSeparatedRaw</value>
|
|
|
|
<value>TabSeparatedWithNames</value>
|
|
|
|
<value>TabSeparatedWithNamesAndTypes</value>
|
|
|
|
<value>CSV</value>
|
|
|
|
<value>CSVWithNames</value>
|
|
|
|
<value>Values</value>
|
|
|
|
<value>Vertical</value>
|
|
|
|
<value>JSON</value>
|
|
|
|
<value>JSONCompact</value>
|
|
|
|
<value>JSONEachRow</value>
|
|
|
|
<value>TSKV</value>
|
|
|
|
<value>Pretty</value>
|
|
|
|
<value>PrettyCompact</value>
|
|
|
|
<value>PrettyCompactMonoBlock</value>
|
|
|
|
<value>PrettyNoEscapes</value>
|
|
|
|
<value>PrettySpace</value>
|
|
|
|
<value>XML</value>
|
|
|
|
</values>
|
|
|
|
</substitution>
|
|
|
|
</substitutions>
|
|
|
|
|
|
|
|
<preconditions>
|
|
|
|
<table_exists>test.hits</table_exists>
|
|
|
|
</preconditions>
|
|
|
|
|
|
|
|
<query>SELECT * FROM test.hits FORMAT {format}</query>
|
|
|
|
|
|
|
|
</test>
|