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

Daniel Dinnyes commented on HIVE-5469:
--------------------------------------

Thanks for the workaround code snippet.

> support nullif
> --------------
>
>                 Key: HIVE-5469
>                 URL: https://issues.apache.org/jira/browse/HIVE-5469
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 0.11.0
>            Reporter: N Campbell
>            Assignee: Navis
>            Priority: Minor
>         Attachments: HIVE-5469.1.patch.txt, HIVE-5469.2.patch.txt, 
> HIVE-5469.3.patch.txt
>
>
> Have to express case expression to work around lack of NULLIF
> select nullif(cint, 1) from tint
> select cint, case when cint = 1 then null else cint end from tint



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

Reply via email to