("key1").dataType的数据类型,则会得到StringType,key2、key3和key4也是如此。java.lang.IllegalArgumentException: Field "key5.key51" does not exist.at org.apache.spark.sql.types.StructType$$anonfun$app
我有一个包含数组(或列表)列的数据,每个元素都是一个字符串映射、复杂数据类型(意为- String、嵌套映射、列表等;在某种程度上,您可以假设列数据类型类似于List[Map[String,AnyRef<any of the array element>['someArbitaryKey'] in ('a','b','c')
我不知道如何在spark SQL中表示<any of the array eleme