[ https://issues.apache.org/jira/browse/FLINK-19912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225274#comment-17225274 ]
hailong wang commented on FLINK-19912: -------------------------------------- Yes, It is necessary to have a investigate. For spark, I found MapData did not support null key map, and will throw exception when using null as map key. The code is in ArrayBasedMapBuilder#put. As for calcite, the JSON_OBJECT function also not support null key map by throwing exception. The code is in JsonFunctions#jsonObject > Support ignoreParseErrors option for json serializationSchema > -------------------------------------------------------------- > > Key: FLINK-19912 > URL: https://issues.apache.org/jira/browse/FLINK-19912 > Project: Flink > Issue Type: Improvement > Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile) > Affects Versions: 1.12.0 > Reporter: hailong wang > Priority: Major > Fix For: 1.12.0 > > > Support ignoreParseErrors to skip error when serializing `RowData` in json > serializationSchema. -- This message was sent by Atlassian Jira (v8.3.4#803005)