You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2016/04/20 08:17:25 UTC

[jira] [Created] (HIVE-13555) Add nullif udf

Ashutosh Chauhan created HIVE-13555:
---------------------------------------

             Summary: Add nullif udf
                 Key: HIVE-13555
                 URL: https://issues.apache.org/jira/browse/HIVE-13555
             Project: Hive
          Issue Type: New Feature
          Components: UDF
            Reporter: Ashutosh Chauhan


{{nullif(exp1, exp2)}} is shorthand for: {{case when exp1 = exp2 then null else exp1 }}




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