ClickHouse/dbms/tests/performance/bounding_ratio.xml

15 lines
520 B
XML
Raw Normal View History

2018-12-20 16:11:22 +00:00
<test>
<type>once</type>
<stop_conditions>
<any_of>
<!-- This is only for infinite running query. -->
2019-05-17 11:42:41 +00:00
<average_speed_not_changing_for_ms>2000</average_speed_not_changing_for_ms>
2018-12-20 16:11:22 +00:00
<total_time_ms>10000</total_time_ms>
</any_of>
</stop_conditions>
<query>SELECT boundingRatio(number, number) FROM system.numbers</query>
<query>SELECT (argMax(number, number) - argMin(number, number)) / (max(number) - min(number)) FROM system.numbers</query>
</test>