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

Jark Wu commented on FLINK-16143:
---------------------------------

Yes. The first thing we may need to discuss is that we all know TIMESTAMPDIFF 
covers the ability of DATEDIFF, do we need to introduce DATEDIFF then? 

IMO, it's fine to have DATEDIFF if it is widely used in other systems and the 
semantic is not conflict with TIMESTAMPDIFF. That means anyone who has the 
knowledge required in other systems (e.g. Hive, Spark) can easily get started 
with Flink soon.

Regarding to the bit-wise functions, I think we should definitely to support 
them ASAP, because Flink doesn't have such function yet. 

> Turn on more date time functions of blink planner
> -------------------------------------------------
>
>                 Key: FLINK-16143
>                 URL: https://issues.apache.org/jira/browse/FLINK-16143
>             Project: Flink
>          Issue Type: New Feature
>          Components: Table SQL / Planner
>            Reporter: Zili Chen
>            Priority: Major
>             Fix For: 1.11.0
>
>
> Currently blink planner has a series of built-in functions such as
> DATEDIFF
>  DATE_ADD
>  DATE_SUB
> which haven't been into used so far. We could add the necessary register, 
> generate and convert code to make it available in production scope.
>  
> what do you think [~jark]?
>  



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

Reply via email to