ClickHouse/tests/queries/0_stateless/01308_polygon_area.sql
Nikita Mikhailov a6c8d50cc2 review fix
2021-03-11 15:08:19 +03:00

4 lines
303 B
SQL

select polygonAreaCartesian([[[(0., 0.), (0., 5.), (5., 5.), (5., 0.)]]]);
select polygonAreaSpherical([[[(4.346693, 50.858306), (4.367945, 50.852455), (4.366227, 50.840809), (4.344961, 50.833264), (4.338074, 50.848677), (4.346693, 50.858306)]]]);
SELECT polygonAreaCartesian([]); -- { serverError 36 }