[ https://issues.apache.org/jira/browse/HIVE-13555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15456171#comment-15456171 ]
Ashutosh Chauhan commented on HIVE-13555: ----------------------------------------- I think it makes sense to stick to standard on this. Since we are implementing this specifically to meet standards requirement. Otherwise workaround using case statement already exists. Postgres implementation is a good standard to follow. > Add nullif udf > -------------- > > Key: HIVE-13555 > URL: https://issues.apache.org/jira/browse/HIVE-13555 > Project: Hive > Issue Type: Sub-task > Components: UDF > Reporter: Ashutosh Chauhan > Assignee: Zoltan Haindrich > Attachments: HIVE-13555.1.patch > > > {{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)