[jira] [Created] (FLINK-6068) Support If() in built in function of TableAPI

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-6068) Support If() in built in function of TableAPI

Shang Yuanchun (Jira)
Zhuoluo Yang created FLINK-6068:
-----------------------------------

             Summary: Support If() in built in function of TableAPI
                 Key: FLINK-6068
                 URL: https://issues.apache.org/jira/browse/FLINK-6068
             Project: Flink
          Issue Type: Improvement
            Reporter: Zhuoluo Yang
            Assignee: Zhuoluo Yang


Most sql system support if() as an built-in udf. However, we didn't register the if() in the function category. A great many of our users use syntax 'if(a, b, c)'. Also most sql systems support 'if(a, b, c)' syntax.

Mysql: https://dev.mysql.com/doc/refman/5.7/en/control-flow-functions.html#function_if

Hive: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-ConditionalFunctions



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)