You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Adam N D DENG (Jira)" <ji...@apache.org> on 2020/03/27 05:57:00 UTC

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

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)