You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2021/03/10 14:53:00 UTC

[jira] [Closed] (FLINK-12063) Remove DateTimeUtils and fix datetime function problems in Blink planner

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

Jark Wu closed FLINK-12063.
---------------------------
    Resolution: Invalid

> Remove DateTimeUtils and fix datetime function problems in Blink planner
> ------------------------------------------------------------------------
>
>                 Key: FLINK-12063
>                 URL: https://issues.apache.org/jira/browse/FLINK-12063
>             Project: Flink
>          Issue Type: New Feature
>          Components: Table SQL / Planner
>            Reporter: Jark Wu
>            Priority: Major
>
> The root cause might be similar to FLINK-11935 which is the casting problem. For example: 
> {code:sql}
> CAST('1500-04-30 12:00:00' AS TIMESTAMP)
> {code}
> but result is 
> {code}
> Optimized : 1500-04-30 12:00:00
> Expected :1500-04-30 12:00:00.000
> Actual   :1500-04-20 12:00:00.000
> {code}



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