[ 
https://issues.apache.org/jira/browse/FLINK-15050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16987671#comment-16987671
 ] 

Zhenghua Gao commented on FLINK-15050:
--------------------------------------

User may pass any TIMESTAMP WITHOUT TIME ZONE in, e.g.:

DataTypes.TIMESTAMP(9).bridgedTo(LocalDateTime.class),
DataTypes.TIMESTAMP(9).bridgedTo(Timestamp.class),
DataTypes.TIMESTAMP(3),
new AtomicDataType(
  new LegacyTypeInformationType<>(
    LogicalTypeRoot.TIMESTAMP_WITHOUT_TIME_ZONE,
    SqlTimeTypeInfo.TIMESTAMP)),
new AtomicDataType(
  new LegacyTypeInformationType<>(
    LogicalTypeRoot.TIMESTAMP_WITHOUT_TIME_ZONE,
    new LegacyTimestampTypeInfo(7)))

> DataFormatConverters should support any TIMESTAMP WITHOUT TIME ZONE types
> -------------------------------------------------------------------------
>
>                 Key: FLINK-15050
>                 URL: https://issues.apache.org/jira/browse/FLINK-15050
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>            Reporter: Jingsong Lee
>            Priority: Major
>             Fix For: 1.10.0
>
>
> Should have tests to cover these behaviors.



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

Reply via email to