[ https://issues.apache.org/jira/browse/FLINK-19912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17226289#comment-17226289 ]
Timo Walther commented on FLINK-19912: -------------------------------------- I think we should make this format-dependent and look at the standards. Looking at https://www.json.org/json-en.html the page is clear that the key must always be a string. So we should call `CAST(field AS STRING)` for every key which means {{null == "null"}}, instead of dropping the value. But I understand that not everyone likes this. How about we introduce a config option for this. Every developer should be able to decide about the behavior manually. The default could be failing such that users are forced to think about this topic. > 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)