mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-09 00:54:43 +00:00
15 lines
863 B
XML
15 lines
863 B
XML
<test>
|
|
|
|
|
|
<!-- lat swings roughly from -90 to 90, lon swings from -180 to 180, and their tempo does not match. -->
|
|
<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>
|
|
|
|
<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 -->
|
|
<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>
|