rovin-ms commented on issue #1198:
URL: https://github.com/apache/sedona/issues/1198#issuecomment-1889820465

   Found the solution. I placed the Jar files for Sedona in an Azure Blob 
Storage container, and then set the %%configure magic before running the code 
above. Here's the doc: 
https://learn.microsoft.com/en-us/fabric/data-engineering/author-execute-notebook#spark-session-configuration-magic-command
   
   And here's close to what was added to the first cell in a Notebook:
   %%configure -f
   {
       "jars": 
["[https://xxxxxx.blob.core.windows.net/jars/sedona-spark-shaded-3.0_2.12-1.5.0.jar";](https://xxxxxx.blob.core.windows.net/jars/sedona-spark-shaded-3.0_2.12-1.5.0.jar%22),
 
"[https://xxxxxx.blob.core.windows.net/jars/geotools-wrapper-1.5.0-28.2.jar";](https://xxxxxx.blob.core.windows.net/jars/geotools-wrapper-1.5.0-28.2.jar%22)]
    
   }
   
   I was then able to set the SedonaContext. Note that adding the libraries 
under the Workspace libraries did not appear to work. 
https://learn.microsoft.com/en-us/fabric/data-engineering/environment-manage-library
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to