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

Jark Wu commented on FLINK-21911:
---------------------------------

This can be supported by {{IF(a > b, a, b)}} for now. 

If we want to introduce such method, I would suggest to come up with another 
method name, because it might be confusing with the MIN/MAX agg function.

> Support arithmetic MIN/MAX in SQL
> ---------------------------------
>
>                 Key: FLINK-21911
>                 URL: https://issues.apache.org/jira/browse/FLINK-21911
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / API
>            Reporter: Timo Walther
>            Priority: Major
>
> We should discuss if we want to support math MIN / MAX in Flink SQL. It seems 
> also other vendors do not support it out of the box:
> [https://stackoverflow.com/questions/124417/is-there-a-max-function-in-sql-server-that-takes-two-values-like-math-max-in-ne]
> But it might be quite useful and a common operation in JVM languages.



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

Reply via email to