The problem
When Duckle reads any geospatial input, column with the GEOMETRY type are detected as string instead of geometry.
Starting with DuckDB 1.5, GEOMETRY is a built-in core data type rather than an extension-specific type. Duckle should recognize it as a native geometry column instead of falling back to string.
Proposed solution
Add support for DuckDB's native GEOMETRY type in Duckle's type detection.
When a column is of type GEOMETRY, Duckle should:
- Detect it as
geometry instead of string.
- Display it alongside the other supported data types.
- Preserve the geometry type throughout the pipeline so spatial workflows can use it directly.
This would align Duckle with DuckDB's native type system and improve the experience when working with spatial datasets.
Alternatives / workarounds
Additional context
DuckDB 1.5 moved GEOMETRY into the core database engine, allowing extensions to produce and consume geometry values natively without depending on the Spatial extension.
Blog post:
https://duckdb.org/2026/03/09/announcing-duckdb-150#geometry-rework
It would be great if geometry were recognized as a native type as well.
The problem
When Duckle reads any geospatial input, column with the
GEOMETRYtype are detected asstringinstead ofgeometry.Starting with DuckDB 1.5,
GEOMETRYis a built-in core data type rather than an extension-specific type. Duckle should recognize it as a native geometry column instead of falling back tostring.Proposed solution
Add support for DuckDB's native
GEOMETRYtype in Duckle's type detection.When a column is of type
GEOMETRY, Duckle should:geometryinstead ofstring.This would align Duckle with DuckDB's native type system and improve the experience when working with spatial datasets.
Alternatives / workarounds
Additional context
DuckDB 1.5 moved
GEOMETRYinto the core database engine, allowing extensions to produce and consume geometry values natively without depending on the Spatial extension.Blog post:
https://duckdb.org/2026/03/09/announcing-duckdb-150#geometry-rework
It would be great if
geometrywere recognized as a native type as well.