mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
15 lines
725 B
XML
15 lines
725 B
XML
<test>
|
|
|
|
<stop_conditions>
|
|
<any_of>
|
|
<total_time_ms>10000</total_time_ms>
|
|
</any_of>
|
|
</stop_conditions>
|
|
|
|
<!-- lon [-180; 180], lat [-90; 90] -->
|
|
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(greatCircleDistance((rand(1) % 360) * 1. - 180, (number % 150) * 1.2 - 90, (number % 360) + toFloat64(rand(2)) / 4294967296 - 180, (rand(3) % 180) * 1. - 90))</query>
|
|
<!-- 55.755830, 37.617780 is center of Moscow -->
|
|
<query>SELECT count() FROM zeros(1000000) WHERE NOT ignore(greatCircleDistance(55. + toFloat64(rand(1)) / 4294967296, 37. + toFloat64(rand(2)) / 4294967296, 55. + toFloat64(rand(3)) / 4294967296, 37. + toFloat64(rand(4)) / 4294967296))</query>
|
|
</test>
|
|
|