hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kostiantyn Kudriavtsev (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-6107) Introduce nvl and nvl2 UDF similar to Oracle
Date Fri, 27 Dec 2013 11:00:50 GMT

     [ https://issues.apache.org/jira/browse/HIVE-6107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kostiantyn Kudriavtsev updated HIVE-6107:
-----------------------------------------

    Description: 
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 )


  was:
Introduce new UDF:
nvl : substitute a value when a null value is encountered
NVL( string, replace_with )
where string is the string to test for a null value

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 )



> Introduce nvl and 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
>
> 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)

Mime
View raw message