Ambiguous schema in Spark Scala

后端 未结 1 643
野趣味
野趣味 2020-12-11 07:12

Schema:

|-- c0: string (nullable = true)
|-- c1: struct (nullable = true)
|    |-- c2: array (nullable = true)
|    |    |-- element: struct (containsNull =          


        
相关标签:
1条回答
  • 2020-12-11 07:40

    turn on the spark sql case sensitivity configuration and try

    spark.sql("set spark.sql.caseSensitive=true")
    
    0 讨论(0)
提交回复
热议问题