[
https://issues.apache.org/jira/browse/HIVE-6107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13857760#comment-13857760
]
Brock Noland commented on HIVE-6107:
------------------------------------
No, another UDF. See:
https://issues.apache.org/jira/browse/HIVE-5087?focusedCommentId=13749807&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13749807
> Introduce nvl2 UDF similar to Oracle
> ------------------------------------
>
> Key: HIVE-6107
> URL: https://issues.apache.org/jira/browse/HIVE-6107
> Project: Hive
> Issue Type: New Feature
> Components: UDF
> Reporter: Kostiantyn Kudriavtsev
> Priority: Minor
> Attachments: hive-6107.patch
>
>
> Introduce new UDF:
> nvl2 : extends the functionality found in the NVL function. It lets you
> substitutes a value when a null value is encountered as well as when a
> non-null value is encountered.
> NVL2( string1, value_if_NOT_null, value_if_null )
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)