[ https://issues.apache.org/jira/browse/FLINK-30292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jark Wu updated FLINK-30292: ---------------------------- Fix Version/s: 1.18.0 > Better support for conversion between DataType and TypeInformation > ------------------------------------------------------------------ > > Key: FLINK-30292 > URL: https://issues.apache.org/jira/browse/FLINK-30292 > Project: Flink > Issue Type: Improvement > Components: Table SQL / API > Affects Versions: 1.15.3 > Reporter: Yunfeng Zhou > Priority: Major > Fix For: 1.18.0 > > > In Flink 1.15, we have the following ways to convert a DataType to a > TypeInformation. Each of them has some disadvantages. > * `TypeConversions.fromDataTypeToLegacyInfo` > It might lead to precision losses in face of some data types like timestamp. > It has been deprecated. > * `ExternalTypeInfo.of` > It cannot be used to get detailed type information like `RowTypeInfo` > It might bring some serialization overhead. > Given that the ways mentioned above are both not perfect, Flink SQL should > provide a better API to support DataType-TypeInformation conversions, and > thus better support Table-DataStream conversions. > -- This message was sent by Atlassian Jira (v8.20.10#820010)