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)

Reply via email to