ClickHouse/tests/performance/functions_geo.xml

20 lines
991 B
XML
Raw Normal View History

<test>
<stop_conditions>
<any_of>
2019-05-15 16:44:25 +00:00
<total_time_ms>5000</total_time_ms>
</any_of>
</stop_conditions>
<!-- lat swings roughly from -90 to 90, lon swings from -180 to 180, and their tempo does not match. -->
2020-02-28 17:02:43 +00:00
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(geohashEncode((number % 150)*1.1 - 75, (number * 3.14 % 300)*1.1 - 150))</query>
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(geohashDecode(toString(number % 1000000)))</query>
2020-03-11 11:22:10 +00:00
<query>SELECT count() FROM zeros(1000000) WHERE NOT ignore(geohashEncode(1.0/rand(), 2.0/rand()))</query>
<query>SELECT count() FROM zeros(1000000) WHERE NOT ignore(geohashDecode(toString(rand() % 1000000)))</query>
<!-- erroneus values -->
2020-02-28 17:02:43 +00:00
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(geohashEncode(number + 91.0, number + 181.0))</query>
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(geohashDecode(hex(number)))</query>
</test>