This post will maintain information about any known limitations, or commonly identified problems/solutions, related to the Public Preview of ArcGIS GeoAnalytics for Microsoft Fabric.
Errors importing the ArcGIS GeoAnalytics library
To import the GeoAnalytics for Fabric library, you should be able to just use the import statement: import geoanalytics_fabric
If you receive an error on importing the library here are potential solutions:
Problem: You receive the following error:
ModuleNotFoundError: No module named 'geoanalytics_fabric'
Solution: There are two potential solutions for the ModuleNotFoundError
- GeoAnalytics for Fabric is only enabled in the Microsoft Fabric 1.3 runtime. To import and use the library, you must be using the 1.3 runtime. Change your environment to use the latest runtime.
Problem: You receive the following error:
Py4JJavaError: An error occurred while calling z:com.esri.geoanalytics.fabric.PluginLoader.hotload. : com.esri.geoanalytics.internal.AuthError: GeoAnalytics has not been enabled for this workspace
Solution. This error implies that the library has not been enabled for your workspace. A tenant administrator must enable the library. Select Settings > Admin Portal > Tenant settings. When disabled, the GeoAnalytics for Fabric library will not be available to use in Spark notebooks or Spark job definitions.
Basemaps are not rendering using st.plot
GeoAnalytics for Fabric includes capabilities for plotting results within a notebook using the st.plot functionality. For Public Preview only, plotting basemaps requires adding an additional configuration cell at the start of your notebook.
Solution. Add this cell as the first cell in your notebook. Note that this may increase the environment startup time to several minutes.
%%configure -f
{
"conf":
{
"spark.driver.extraJavaOptions" : "--add-opens java.base/jdk.internal.loader=ALL-UNNAMED",
"spark.jars.packages": "com.google.protobuf:protobuf-java:3.25.5"
}
}
Scala tools not available
During the Public Preview of GeoAnalytics for Fabric, there is no Scala API provided for the GeoAnalytics tools; Scala support is only provided for the GeoAnalytics SQL functions. We are working to expand Scala support across the library for subsequent releases.
Other issues
As this is a beta release / preview of the product, we hope that you will let us know about any issues that you encounter so that we can keep them in mind for subsequent releases