[ 
https://issues.apache.org/jira/browse/FLINK-14927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhenghua Gao updated FLINK-14927:
---------------------------------
    Description: 
1) PhysicalTableSourceScan.getSourceTransformation use 
TypeInfoDataTypeConverter.fromDataTypeToTypeInfo, which bypass TypeConversions 
to support precision

2) Conversion from DateType to TypeInformation (and back) exists in 
TableSourceUtil.computeIndexMapping

> Remove LegacyTimestampTypeInfo and LegacyLocalDateTimeTypeInfo when the 
> conversion is not needed
> ------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-14927
>                 URL: https://issues.apache.org/jira/browse/FLINK-14927
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Planner
>            Reporter: Zhenghua Gao
>            Priority: Minor
>
> 1) PhysicalTableSourceScan.getSourceTransformation use 
> TypeInfoDataTypeConverter.fromDataTypeToTypeInfo, which bypass 
> TypeConversions to support precision
> 2) Conversion from DateType to TypeInformation (and back) exists in 
> TableSourceUtil.computeIndexMapping



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to