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)

Reply via email to