I am using Java 8 with Spark v2.4.1.
I am trying to add Map using Spark function called typedLit. But getting compilation errors. How can I do it in Java API
Map