Resolved! Scala app getting NullPointerException while migrating from DBR 7.3 to 9.1 (and above)
We are migrating our Scala jobs from AWS EMR (6.2.1 and Spark version - 3.0.1) to Lakehouse and few of our jobs are failing due to NullPointerException. We tried in Databricks Runtime 7.3 LTS, it is working fine. Because it had same spark version 3.0...
- 2129 Views
- 1 replies
- 0 kudos
Latest Reply
In one of my code statements, I updated scala Boolean to java.lang.Boolean and this is working fine now. May be in new newer Spark versions, null in scala Boolean isn't supported.
- 0 kudos