You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Timo Walther (Jira)" <ji...@apache.org> on 2022/01/14 08:42:00 UTC

[jira] [Updated] (FLINK-18590) Support json array explode to multi messages

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

Timo Walther updated FLINK-18590:
---------------------------------
        Parent: FLINK-25647
    Issue Type: Sub-task  (was: Improvement)

> Support json array explode to multi messages
> --------------------------------------------
>
>                 Key: FLINK-18590
>                 URL: https://issues.apache.org/jira/browse/FLINK-18590
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
>            Reporter: Benchao Li
>            Priority: Minor
>              Labels: auto-deprioritized-major, auto-unassigned, pull-request-available
>
> Currently our {{DeserializationSchema}} has supported to emit multi messages for one input record. There is some cases that the json data is not a json object in top level, for example:
> {code:SQL}
> CREATE TABLE source (
>   col1 int,
>   col2 varchar
> ) WITH (
>   ...
>   'format' = 'json'
> )
> {code}
> With following data.
> {code:json}
> [
> {"col1": 1, "col2": "hello"},
> {"col1": 2, "col2": "flink"}
> ]
> {code}
> CC [~jark]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)