hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lefty Leverenz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13555) Add nullif udf
Date Wed, 07 Sep 2016 06:12:20 GMT

    [ https://issues.apache.org/jira/browse/HIVE-13555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15469691#comment-15469691
] 

Lefty Leverenz commented on HIVE-13555:
---------------------------------------

Doc note:  The nullif UDF should be documented in the wiki for release 2.2.0.

* [Hive Operators and UDFs -- Conditional Functions | https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-ConditionalFunctions]

Added a TODOC2.2 label.

> Add nullif udf
> --------------
>
>                 Key: HIVE-13555
>                 URL: https://issues.apache.org/jira/browse/HIVE-13555
>             Project: Hive
>          Issue Type: Sub-task
>          Components: UDF
>            Reporter: Ashutosh Chauhan
>            Assignee: Zoltan Haindrich
>              Labels: TODOC2.2
>             Fix For: 2.2.0
>
>         Attachments: HIVE-13555.1.patch, HIVE-13555.2.patch, HIVE-13555.2.patch
>
>
> {{nullif(exp1, exp2)}} is shorthand for: {{case when exp1 = exp2 then null else exp1}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message