Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.5.0
-
None
-
None
Description
As Avro provide efficient data schemas formalism, it may be great to be able to build Flink Tables Sources with such files.
More info about Avro schemas :https://avro.apache.org/docs/1.8.1/spec.html#schemas
For instance, with CsvTableSource :
Parser schemaParser = new Schema.Parser();
Schema tableSchema = schemaParser.parse("avro.json");
Builder bld = CsvTableSource.builder().schema(tableSchema);
This would give me a fully available CsvTableSource with columns defined in avro.json
It may be possible to do so for every TableSources since avro format is really common and versatile.