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/11/15 15:15:00 UTC

[jira] [Created] (FLINK-14824) Improve schema derivation for formats

Jark Wu created FLINK-14824:
-------------------------------

             Summary: Improve schema derivation for 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


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)