mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 03:25:15 +00:00
42 lines
1.1 KiB
XML
42 lines
1.1 KiB
XML
<test>
|
|
<name>entropy</name>
|
|
<type>loop</type>
|
|
|
|
<preconditions>
|
|
<table_exists>test.hits</table_exists>
|
|
</preconditions>
|
|
|
|
<stop_conditions>
|
|
<all_of>
|
|
<total_time_ms>10000</total_time_ms>
|
|
</all_of>
|
|
<any_of>
|
|
<average_speed_not_changing_for_ms>5000</average_speed_not_changing_for_ms>
|
|
<total_time_ms>20000</total_time_ms>
|
|
</any_of>
|
|
</stop_conditions>
|
|
|
|
<main_metric>
|
|
<min_time/>
|
|
</main_metric>
|
|
|
|
<substitutions>
|
|
<substitution>
|
|
<name>args</name>
|
|
<values>
|
|
<value>SearchEngineID</value>
|
|
<value>SearchPhrase</value>
|
|
<value>MobilePhoneModel</value>
|
|
<value>URL</value>
|
|
<value>URLDomain</value>
|
|
<value>URL, URLDomain</value>
|
|
<value>ClientIP</value>
|
|
<value>RegionID</value>
|
|
<value>ClientIP, RegionID</value>
|
|
</values>
|
|
</substitution>
|
|
</substitutions>
|
|
|
|
<query>SELECT entropy({args}) FROM test.hits</query>
|
|
</test>
|