You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Kurt Young (Jira)" <ji...@apache.org> on 2020/04/18 13:04:00 UTC

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

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

Kurt Young closed FLINK-16823.
------------------------------
    Fix Version/s: 1.11.0
       Resolution: Fixed

master: 591527798bf0d7f2a3884934b6260af9b84f3bf2

> 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
>          Components: Table SQL / Planner
>    Affects Versions: 1.9.1, 1.10.0
>            Reporter: Adam N D DENG
>            Assignee: Zhenghua Gao
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.11.0
>
>         Attachments: image-2020-03-27-13-50-51-955.png
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)