Re: Schema with TypeInformation or DataType

Posted by godfrey he on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Schema-with-TypeInformation-or-DataType-tp34388p34389.html

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 DataType way as well?
Schema also supports DataType since FLINK-14645[1]


Best,
Godfrey

tison <[hidden email]> 于2020年4月17日周五 下午2:14写道:
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. Schema in Table API currently support only TypeInformation to register a field, shall we support
the DataType way as well?

Best,
tison.