cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Mosaic library not supported in db13 and unity catalog

DB_learn
New Contributor II

I want to use gepatial functions which uses mosaic library. How can I use it without using mosaic library and import functions available ?

Example st_aswkt

2 REPLIES 2

DB_learn
New Contributor II

Thanks for the response! 

I tried using it. In sql it is working fine

but when I tried in python it is failing

Syntax 

from pyspark.databricks.sql.functions import *
from math import *

h3_pointash3('POINT("lat","lan")',13))

 

this is giving me syntax error

sean_owen
Databricks Employee
Databricks Employee

You have a syntax error there indeed - extra parenthesis.

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