You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Navis (JIRA)" <ji...@apache.org> on 2014/05/27 10:39:02 UTC
[jira] [Updated] (HIVE-5469) support nullif
[ https://issues.apache.org/jira/browse/HIVE-5469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Navis updated HIVE-5469:
------------------------
Attachment: HIVE-5469.1.patch.txt
> 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
> Attachments: HIVE-5469.1.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.2#6252)