[
https://issues.apache.org/jira/browse/FLINK-19912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17226252#comment-17226252
]
Timo Walther commented on FLINK-19912:
--------------------------------------
I quickly scanned this discussion. So do we know the location where the type
mismatch occurs? Is it in the JSON format? Or somewhere else?
>From the MapType definition, the support of NULL in keys should be clear:
{code}
/**
* Logical type of an associative array that maps keys (including {@code NULL})
to values (including
* {@code NULL}). A map cannot contain duplicate keys; each key can map to at
most one value. There
* is no restriction of key types; it is the responsibility of the user to
ensure uniqueness. The map
* type is an extension to the SQL standard.
*
* <p>The serialized string representation is {@code MAP<kt, vt>} where {@code
kt} is the logical type
* of the key elements and {@code vt} is the logical type of the value elements.
*/
@PublicEvolving
public final class MapType extends LogicalType
{code}
> 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)