hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Cook (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HIVE-13555) Add nullif udf
Date Mon, 08 Oct 2018 20:02:00 GMT

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

Ian Cook edited comment on HIVE-13555 at 10/8/18 8:01 PM:
----------------------------------------------------------

[~leftylev]: the [wiki|https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-ConditionalFunctions]
says this was added in 2.2.0, but [~owen.omalley]: it looks like you set the fix version
here to 2.3.0. Owen: can you confirm that the {{nullif}} UDF was added in 2.3.0, not 2.2.0?
Thanks.


was (Author: icook):
[~leftylev]: the wiki says this was added in 2.2.0, but [~owen.omalley]: it looks like you
set the fix version here to 2.3.0. Owen: can you confirm that the {{nullif}} UDF was added
in 2.3.0, not 2.2.0? Thanks.

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

Mime
View raw message