ClickHouse / clickhouse-connect

Python driver/sqlalchemy/superset connectors
Apache License 2.0
332 stars 65 forks source link

Support geo data types like Ring, LineString, MultiLineString, Polygon and MultiPolygon #427

Closed Black-pixcel closed 4 days ago

Black-pixcel commented 5 days ago

May you please add support for all geo data types except Point? Now when trying to select any geo types, an error appears. For example: Query: select readWKTPolygon('POLYGON ((-64.8 32.3, -65.5 18.3, -80.3 25.2, -64.8 32.3))') as polygon Error: clickhouse_connect.driver.exceptions.InternalError: Unrecognized ClickHouse type base: Polygon name: Polygon