Spark 读excel报错,scala.MatchError

Spark3详细报错:

scala.MatchError: Map(treatemptyvaluesasnulls -> true, 
  location -> viewfs://path.xlsx, 
  inferschema -> false, 
  addcolorcolumns -> true, 
  header -> true) 
(of class org.apache.spark.sql.catalyst.util.CaseInsensitiveMap)

scala代码

val dataExcel: Dataset[Row] = spark.read
      .format("com.crealytics.spark.excel")
      .option("location"

你可能感兴趣的:(Spark,spark,scala)