mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
31 lines
812 B
XML
31 lines
812 B
XML
<test>
|
|
<type>loop</type>
|
|
|
|
<preconditions>
|
|
<table_exists>hits_100m_single</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>
|
|
|
|
|
|
<substitutions>
|
|
<substitution>
|
|
<name>func</name>
|
|
<values>
|
|
<value>right(URL, 16)</value>
|
|
<value>substring(URL, greatest(minus(plus(length(URL), 1), 16), 1))</value>
|
|
</values>
|
|
</substitution>
|
|
</substitutions>
|
|
|
|
<query>SELECT count() FROM hits_100m_single WHERE NOT ignore({func})</query>
|
|
</test>
|