[
https://issues.apache.org/jira/browse/FLINK-16823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17068358#comment-17068358
]
Kurt Young commented on FLINK-16823:
------------------------------------
Yes, this is a bug. [~docete] could you take a look at this?
> 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
> Affects Versions: 1.9.1, 1.10.0
> Reporter: Adam N D DENG
> Priority: Major
> 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)