[jira] [Created] (FLINK-16823) The functioin TIMESTAMPDIFF doesn't perform expected result

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

[jira] [Created] (FLINK-16823) The functioin TIMESTAMPDIFF doesn't perform expected result

Shang Yuanchun (Jira)
Adam N D DENG created FLINK-16823:
-------------------------------------

             Summary: The functioin TIMESTAMPDIFF doesn't perform expected result
                 Key: FLINK-16823
                 URL: https://issues.apache.org/jira/browse/FLINK-16823
             Project: Flink
          Issue Type: Bug
            Reporter: Adam N D DENG
         Attachments: image-2020-03-27-13-50-51-955.png

For example,

In mysql bellow sql get result 6, but in flink the output is 5

SELECT timestampdiff (MONTH, TIMESTAMP '2019-09-01 00:00:00',TIMESTAMP '2020-03-01 00:00:00' )

 

!image-2020-03-27-13-50-51-955.png!

 

 



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