QuestionQ290
VerifiedDeveloping Apache Spark™ DataFrame/DataSet API ApplicationsThe code block below has an error. It is intended to read the CSV at the file path filePath into a DataFrame using the specified schema schema. Identify the error.
spark.read.schema("schema").csv(filePath)
Community Discussion