[jira] [Created] (FLINK-14546) Support map type in flink-json

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-14546) Support map type in flink-json

Shang Yuanchun (Jira)
Benchao Li created FLINK-14546:
----------------------------------

             Summary: Support map type in flink-json
                 Key: FLINK-14546
                 URL: https://issues.apache.org/jira/browse/FLINK-14546
             Project: Flink
          Issue Type: Bug
          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
    Affects Versions: 1.9.1, 1.8.2
            Reporter: Benchao Li


Currently in flink-json, we don't treat map type as a special type, which results that the type of map is deduced from fastjson.

For example, when we set `map<varchar, int>` in SQL DDL,and get a value large than int_max, which will result in `Long` from fastjson, and will cause a runtime error.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)