[
https://issues.apache.org/jira/browse/FLINK-14824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jark Wu updated FLINK-14824:
----------------------------
Description: Currently, one also needs to define a schema for formats in
DDL or decriptor API. In this ticket, we will make derive schema as the default
behavior, and keep compatibility with previous version to still support
explicitly declare a format schema. (was: 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.)
> 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. In this ticket, we will make derive schema as the default behavior, and
> keep compatibility with previous version to still support explicitly declare
> a format schema.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)