You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "N Campbell (JIRA)" <ji...@apache.org> on 2013/10/06 19:39:45 UTC

[jira] [Created] (HIVE-5469) support nullif

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)