Closed edobrynin-dodo closed 1 year ago
Hi @edobrynin-dodo, I see that you are installing the mosaic library from the Cluster UI. This procedure installs the library after the cluster is already started, after the SQL registration trigger. In order to make it work, you need to install the Mosaic library via init script like described here.
Please let us know if that works.
Hi @edurdevic!
Got it, thank you.
I think the issue can be closed then.
May I create a PR to add this info in documentation? For example in Apache Sedona they specifically write about it:
Describe the bug
I have mosaic 0.3.7.jar installed on my databricks cluster.
I also put this jar into these locations:
I put these spark configs to my cluster's "Advanced options" section:
However, when I'm trying to check if Mosaic functions were registered:...
spark.sql("""show functions""").where("startswith(function, 'st_')").display()
...the result is zero unfortunately.
Expected behavior display() call shows functions from Mosaic library titled with "st_"
Additional context
May I ask for help? Probably I do something wrong:( Thank you in advance!