Re: Schema with TypeInformation or DataType

2020-04-17 Thread tison
ss > many releases. As far as I can tell, we will finalize the work in 1.11. > As godfrey said above, Flink SQL & Table API should always use DataType, > DataStream uses TypeInformation. > > Schema already supports DataType to register a field, and the the method > using Ty

Re: Schema with TypeInformation or DataType

2020-04-17 Thread Jark Wu
Hi Tison, Migration from TypeInformation to DataType is a large work and will across many releases. As far as I can tell, we will finalize the work in 1.11. As godfrey said above, Flink SQL & Table API should always use DataType, DataStream uses TypeInformation. Schema already supports Data

Re: Schema with TypeInformation or DataType

2020-04-17 Thread godfrey he
Hi tison, >1. Will TypeInformation be deprecated and we use DataType as type system everywhere? AFAIK, runtime will still supports TypeInformation, while table module supports DataType > 2. Schema in Table API currently support only TypeInformation to register a field, shall we support the

Schema with TypeInformation or DataType

2020-04-17 Thread tison
Hi, I notice that our type system has two branches. One is TypeInformation while the other is DataType. It is said that Table API will use DataType but there are several questions about this statement: 1. Will TypeInformation be deprecated and we use DataType as type system everywhere? 2.