Hi,
Error : split value is not a member of org.apache.spark.sql.Row
I am working on eclipse EdurekaVM, when adding split(",") i am getting this error, please help.
val rdd2col = spark.read.csv("file:///home/edureka/rk/2Cols.csv")
val names = rdd2col.map(line => line.split(",")(0))