In Spark SQL when I tried to use map function on DataFrame then I am getting below error.
The method map(Function1, ClassTag) in the type DataFrame is not applicab
check if you are using the correct import for
Row(import org.apache.spark.sql.Row) Remove any other imports related to Row.otherwise ur syntax is correct