[ https://issues.apache.org/jira/browse/FLINK-19912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225817#comment-17225817 ]
Jark Wu commented on FLINK-19912: --------------------------------- Thanks for the investigation [~hailong wang]. I think it's not friendly to throw exceptions during runtime in a long-running streaming job. There are several options in my mind: 1) validate the map key type is not nullable, otherwise throws an exception during compile phase (however, this may introduce a backward incompatible problem, we may need to add a release note for this). 2) ignore entires with null key, and add a NOTE in JSON format docs. What do you think about this [~hailong wang] [~twalthr] ? > 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)