Skip to content

Recognize native GEOMETRY column in geospatial datasets #151

Description

@AmrMortada

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions