ClickHouse/dbms/tests/queries/0_stateless/01043_geo_distance.sql
Alexey Milovidov 2afdb4f6a8 Added a test
2019-12-09 03:20:34 +03:00

12 lines
330 B
SQL

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.);