You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Shengkai Fang (Jira)" <ji...@apache.org> on 2022/07/28 01:47:00 UTC
[jira] [Created] (FLINK-28723) Support json format to serialize the MapData when its key is not STRING
Shengkai Fang created FLINK-28723:
-------------------------------------
Summary: Support json format 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
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)