/
New feature GA

Spatial SQL

Spatial SQL is a Databricks data engineering capability, introduced August 2025.

Native GEOMETRY and GEOGRAPHY column types plus a built-in library of ST_* SQL functions for importing, exporting, measuring, constructing, transforming, and spatially joining geospatial data directly in Databricks SQL and Databricks Runtime.

  • It only graduated halfway: GEOMETRY support is generally available, while GEOGRAPHY support is still sitting in Public Preview.
  • A GEOMETRY column can pick from about 11,000 coordinate reference systems, but GEOGRAPHY is a one-planet type - the only SRID it will accept is 4326.
  • AI/BI dashboard maps can skip the lookup tables and latitude/longitude columns entirely and draw shapes straight from a GEOMETRY or GEOGRAPHY column.

Limitations: Needs Databricks SQL or Databricks Runtime 17.1 and above. GEOMETRY and GEOGRAPHY columns can't be dimensions in metric views or Lakeflow pipelines materialized views, since geospatial data has no GROUP BY support (use them as measures instead). A GEOMETRY(ANY) or GEOGRAPHY(ANY) column, which allows a different SRID per row, can't be persisted, and GEOGRAPHY only accepts SRID 4326. GEOGRAPHY support is still in Public Preview.

Open in REbricked →
Category
Data engineering
Introduced
August 2025
Announced at
GA announced June 11, 2026
Also known as
GEOMETRY type, GEOGRAPHY type, ST geospatial functions, ST_ functions, Databricks geospatial
Verified
2026-09-27

Sources

Related in Data engineering