[ 
https://issues.apache.org/jira/browse/FLINK-19912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225995#comment-17225995
 ] 

hailong wang commented on FLINK-19912:
--------------------------------------

Thank you  for your advice [~jark].

For the first option. Do you mean validating the map key type when creating 
mapConverter? By this way, I think we still can not deal with the null key 
which may produce when job runs. And this forces users to define not null key 
type in map.

For the second, I think It is reasonable to ignore entires with null key, for  
if not  do that, the whole message will be lost.

BTW, how to deal with Multiset type with null key?
Multiset use mapData as output conversion. I think It is reasonable to contain 
null key. I am confused that why we deserializate or serializate a `MapNode` as 
Multiset not a `ArrayNode`?

> 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)

Reply via email to