2019-04-09 19:19:30 +00:00
|
|
|
<test>
|
|
|
|
<name>functions_coding</name>
|
|
|
|
<type>once</type>
|
|
|
|
|
|
|
|
<stop_conditions>
|
|
|
|
<any_of>
|
2019-05-15 16:44:25 +00:00
|
|
|
<average_speed_not_changing_for_ms>1000</average_speed_not_changing_for_ms>
|
|
|
|
<total_time_ms>5000</total_time_ms>
|
2019-04-09 19:19:30 +00:00
|
|
|
</any_of>
|
|
|
|
</stop_conditions>
|
|
|
|
|
|
|
|
<metrics>
|
|
|
|
<max_rows_per_second />
|
|
|
|
<max_bytes_per_second />
|
|
|
|
<avg_rows_per_second />
|
|
|
|
<avg_bytes_per_second />
|
|
|
|
</metrics>
|
|
|
|
|
|
|
|
<!-- lat swings roughly from -90 to 90, lon swings from -180 to 180, and their tempo does not match. -->
|
|
|
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(geohashEncode((number % 150)*1.1 - 75, (number * 3.14 % 300)*1.1 - 150))</query>
|
|
|
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(geohashDecode(toString(number % 1000000)))</query>
|
|
|
|
|
|
|
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(geohashEncode(1.0/rand(), 2.0/rand()))</query>
|
|
|
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(geohashDecode(toString(rand() % 1000000)))</query>
|
|
|
|
|
|
|
|
<!-- erroneus values -->
|
|
|
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(geohashEncode(number + 91.0, number + 181.0))</query>
|
|
|
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(geohashDecode(hex(number)))</query>
|
|
|
|
</test>
|