Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2024 11:41 PM
Hi @Kunal_Mishra ,
The error you are experiencing with Sedona when trying to read a GeoJSON file in Databricks (java.lang.NoSuchMethodError) often indicates a compatibility issue between the Spark version you're using and the Sedona library.
Sedona has specific compatibility requirements with Apache Spark. You need to ensure that the versions of Spark, Scala, and Sedona you are using are all compatible. For example:
- sedona-spark-shaded-3.4_2.12-1.6.1.jar is compatible with Spark 3.4 and Scala 2.12.
- sedona-spark-shaded-3.5_2.12-1.6.1.jar is compatible with Spark 3.5 and Scala 2.12.
Could you check you Databricks Runtime and make sure it is compatible with the sedona version you are using.
Here is the link to check DBR:
https://docs.databricks.com/en/release-notes/runtime/index.html