[ 
https://issues.apache.org/jira/browse/FLINK-28723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shengkai Fang updated FLINK-28723:
----------------------------------
    Summary: Fix json format failed to serialize the MapData when its key is 
not STRING   (was: Fix json format to serialize the MapData when its key is not 
STRING )

> Fix json format failed to serialize the MapData when its key is not STRING 
> ---------------------------------------------------------------------------
>
>                 Key: FLINK-28723
>                 URL: https://issues.apache.org/jira/browse/FLINK-28723
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
>            Reporter: Shengkai Fang
>            Priority: Major
>
> Currently, the JSON format only supports serializing the Map when its key is 
> STRING. We may convert the key to a JSON string. For example, we can convert 
> the `MAP<ARRAY<INT>, ARRAY<INT>>` to the following string.
> {code:java}
> {
>   "[1, 2, 3]": [
>     1,
>     2,
>     3
>   ]
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to