[
https://issues.apache.org/jira/browse/HIVE-13555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16642478#comment-16642478
]
Zoltan Haindrich edited comment on HIVE-13555 at 10/8/18 8:59 PM:
------------------------------------------------------------------
I think it was close to the release - nullif is present on 2.3 ; but not on 2.2
I've corrected this on the wiki
was (Author: kgyrtkirk):
I think it was close to the release - nullif is present on 2.3 ; but not on 2.2
> 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
> Priority: Major
> Fix For: 2.3.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
(v7.6.3#76005)