[
https://issues.apache.org/jira/browse/PIG-1930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Olga Natkovich updated PIG-1930:
--------------------------------
Fix Version/s: 0.10
> comparison operation 'null == null' should evaluate to null
> ------------------------------------------------------------
>
> Key: PIG-1930
> URL: https://issues.apache.org/jira/browse/PIG-1930
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.8.0, 0.9.0
> Reporter: Thejas M Nair
> Fix For: 0.10
>
>
> The expression 'null == null' evaluates to true, it should get evaluated as
> null.
> ie the filter condition 'fil = filter inp by null == null;' allows all the
> records through.
> It seems to be a problem only with null literal, expressions that evaluate to
> null don't seem to have a problem.
> ie 'nullcol1 == nullcol2' (where nullcol1, nullcol2 are columns with null
> value), and (1 + null == 1 + null) work correctly .
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira