hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "N Campbell (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-5469) support nullif
Date Sun, 06 Oct 2013 17:39:45 GMT
N Campbell created HIVE-5469:
--------------------------------

             Summary: 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
            Priority: Minor


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.1#6144)

Mime
View raw message