ClickHouse/tests/queries/0_stateless/01308_polygon_area.sql

4 lines
303 B
MySQL
Raw Normal View History

2021-02-15 19:22:13 +00:00
select polygonAreaCartesian([[[(0., 0.), (0., 5.), (5., 5.), (5., 0.)]]]);
2021-02-26 12:25:28 +00:00
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)]]]);
2021-02-26 15:29:26 +00:00
SELECT polygonAreaCartesian([]); -- { serverError 36 }