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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
Jark Wu created FLINK-12063:
-------------------------------

             Summary: 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


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
(v7.6.3#76005)