Spark: RuntimeException: java.lang.String is not a valid external type for schema of date

后端 未结 0 508
盖世英雄少女心
盖世英雄少女心 2020-12-17 02:36

This works fine:

import org.apache.spark.sql.types.{StructType, StructField, StringType, IntegerType, DateType}
import org.apache.spark.sql.functions._

val d         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题