ClickHouse/tests/queries/0_stateless/01043_geo_distance.sql
Alexey Milovidov a2a90467ed Better
2024-03-25 03:11:19 +01:00

14 lines
390 B
SQL

SET geo_distance_returns_float64_on_float64_arguments = 0;
SELECT greatCircleDistance(0., 0., 0., 1.);
SELECT greatCircleDistance(0., 89., 0, 90.);
SELECT geoDistance(0., 0., 0., 1.);
SELECT geoDistance(0., 89., 0., 90.);
SELECT greatCircleDistance(0., 0., 90., 0.);
SELECT greatCircleDistance(0., 0., 0., 90.);
SELECT geoDistance(0., 0., 90., 0.);
SELECT geoDistance(0., 0., 0., 90.);