Not able to fetch the data post loading into spark

I have used the below code to fetch the data into Spark.

spark_read_csv(sc,name = "Mill", path = "D:/New folder/Copy.csv",header = TRUE)

But now when I call Mill the error is Error: object 'Mill' not found. Not sure why this is happening

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.