cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Geometry Data type in sql

Shan_n
New Contributor

Hi All,

I am trying to create a table with Geometry datatype column in Databricks SQL.

Unfortunately, I am getting not supported data type error.

Is there any way I can create a table with Geometry datatype. 

Thanks.

1 REPLY 1

szymon_dybczak
Contributor III

Hi @Shan_n ,

Databricks doesn't have native support for geometry data type. You can look at the list of all available data types below: 

https://docs.databricks.com/en/sql/language-manual/sql-ref-datatypes.html

But there is a way to work with geospatial data in spark. Refer to following blog post for more details: 

https://www.google.com/amp/s/www.advancinganalytics.co.uk/blog/2023/1/3/gis-in-databricks%3fhs_amp=t...

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group