AnsweredAssumed Answered

Recieving error <Console>:19: error : not found: value spark

Question asked by stumma1313 on May 9, 2018
Latest reply on May 10, 2018 by deborah

Hi,

 

I am working on DEV3600 Lab exercise and enter the following command. When I try to execute the command receiving error "not found : value spark"

 

recieving not found : value spark errorval sfpdDF = spark.read.format("csv").option("inferSchema", true).load("/user/user01/Data/sfpd.csv").toDF("incidentnum", "category", "description", "dayofweek", "date", "time", "pddistrict", "resolution", "address", "x", "y", "pdid")

 

Attached is the screenshot of the error. Appreciate your help.

 

Outcomes