hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-5469) support nullif
Date Wed, 11 Jan 2017 01:44:58 GMT

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

Ashutosh Chauhan updated HIVE-5469:
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.0
           Status: Resolved  (was: Patch Available)

> 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
>             Fix For: 2.2.0
>
>         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)

Mime
View raw message