Re: Creating TableSchema from the Avro Schema

2020-06-05 Thread Dawid Wysakowicz
First of all to give a back story for the deprecation we do not want to depend on the TypeInformation anymore for the types in Table API as it binds both the on-wire representation with the logical types of the SQL API. The goal is to use the DataType exclusively in the Table API (including for the

Creating TableSchema from the Avro Schema

2020-06-04 Thread Ramana Uppala
Hi, In Flink 1.9, we have option to create the TableSchema form TypeInformation. We have used below. TypeInformation typeInfo = AvroSchemaConverter.convertToTypeInfo(schema); TableSchema tableSchema = TableSchema.fromTypeInfo(typeInfo); However TableSchema's fromTypeInfo method is deprecated