You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/20 08:44:41 UTC
[jira] [Commented] (FLINK-6068) Support If() as a built-in function
of TableAPI
[ https://issues.apache.org/jira/browse/FLINK-6068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15932333#comment-15932333 ]
ASF GitHub Bot commented on FLINK-6068:
---------------------------------------
Github user twalthr commented on the issue:
https://github.com/apache/flink/pull/3553
I think we've already had the discussion about naming the if. We can add it, but we should also update the documentation about the alternative syntax for Java.
> Support If() as a 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 a 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)