You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Qian, Shilei (JIRA)" <ji...@apache.org> on 2015/06/09 10:39:00 UTC
[jira] [Commented] (SPARK-8205) conditional function: nvl
[ https://issues.apache.org/jira/browse/SPARK-8205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14578586#comment-14578586 ]
Qian, Shilei commented on SPARK-8205:
-------------------------------------
I'll deal with this.
> conditional function: nvl
> -------------------------
>
> Key: SPARK-8205
> URL: https://issues.apache.org/jira/browse/SPARK-8205
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Reporter: Reynold Xin
> Assignee: Reynold Xin
>
> nvl(T value, T default_value): T
> Returns default value if value is null else returns value (as of HIve 0.11).
> We already have this (called Coalesce). Just need to register an alias for it in FunctionRegistry.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org