Hi all, Today I'm looking into derivating an Avro schema json string into a Schema object. In the overview of https://ci.apache.org/projects/flink/flink-docs-release-1.6/dev/table/connect.html Avro is used as a format and never as a schema.
This was a topic in JIRA-9813 I can get a TableSchema with TableSchema schema = TableSchema.fromTypeInfo(AvroSchemaConverter.convertToTypeInfo(sch_csv.toString())); but I can't use it with BatchTableDescriptor.withSchema(). How can I get a Schema from TableSchema, TypeInformation<?>[] or even Avro json string? A little bridge is missing between TableSchema and org.apache.flink.table.descriptors.Schema it seems. Thanks in advance for any useful hint François