You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2019/12/09 02:12:00 UTC

[jira] [Updated] (FLINK-14824) Improve schema derivation for CSV and JSON formats

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

Jark Wu updated FLINK-14824:
----------------------------
    Summary: Improve schema derivation for CSV and JSON formats   (was: Improve schema derivation for formats)

> Improve schema derivation for CSV and JSON formats 
> ---------------------------------------------------
>
>                 Key: FLINK-14824
>                 URL: https://issues.apache.org/jira/browse/FLINK-14824
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile), Table SQL / API
>            Reporter: Jark Wu
>            Assignee: Jark Wu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.10.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Currently, one also needs to define a schema for formats in DDL or decriptor API. For JSON, CSV and OldCsv, we already supported {{derive.schema=true}} to get the schema from table schema. But for Avro format, a user has to pass an Avro schema file or define the format schema explicitly via {{avro.schema}}.
> We can think of if we can drop {{avro.schema}} and make {{derive.schema=true}} as the default behavior.



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