You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "xuqianjin (JIRA)" <ji...@apache.org> on 2018/11/19 10:10:00 UTC

[jira] [Commented] (FLINK-10926) Add TIMESTAMPDIFF math function supported in Table API and SQL

    [ https://issues.apache.org/jira/browse/FLINK-10926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16691503#comment-16691503 ] 

xuqianjin commented on FLINK-10926:
-----------------------------------

I think this function is necessary, I want to try to implement it by myself.

> Add TIMESTAMPDIFF math function supported in Table API and SQL
> --------------------------------------------------------------
>
>                 Key: FLINK-10926
>                 URL: https://issues.apache.org/jira/browse/FLINK-10926
>             Project: Flink
>          Issue Type: Task
>          Components: Table API &amp; SQL
>            Reporter: xuqianjin
>            Priority: Minor
>
> Use the following SQL statement:
> {{select TIMESTAMPDIFF (MINUTE, 'the 2012-08-24 09:00:00', '2012-08-30 12:00:00')}}
> Expect to be able to return the time difference correctly



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)