Description
Failed on
val schemaRDD = jsonRDD(sparkContext.parallelize(Seq("""{"record": [{"children": null}]}""")))
schemaRDD.schema StructType(ArrayBuffer(StructField(record,ArrayType(StructType(ArrayBuffer(StructField(children,NullType,true))),false),true)))
You can see the children field is still NullType.
Attachments
Issue Links
- is related to
-
SPARK-2695 Figure out a good way to handle NullType columns.
- Resolved
- links to