Please help, I get this error error: value read is not a member of org.apache.spark.sql.SQLContext val df = sqlContext.read.format("com.databricks.spark.csv").option("header", "true").load("filename.csv")
My code is as follows: import org.apache.spark.SparkContext %dep com.databricks:spark-csv_2.11:1.0.3 import org.apache.spark.sql.SQLContext val sqlContext = new SQLContext(sc) val df = sqlContext.read.format("com.databricks.spark.csv").option("header", "true").load("fileName.csv") -- Sincerely! George Koshy, Richardson, in.linkedin.com/in/gkoshyk/