[
https://issues.apache.org/jira/browse/PIG-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Dai updated PIG-3115:
----------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Patch committed to trunk. Thanks Nick!
> Distinct Build-in Function Doesn't Handle Null Bags
> ---------------------------------------------------
>
> Key: PIG-3115
> URL: https://issues.apache.org/jira/browse/PIG-3115
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.10.0
> Reporter: Nick White
> Assignee: Nick White
> Attachments: PIG-3115.1.patch
>
>
> Calling Distinct(NULL) throws NPEs - it should handle this more gracefully.
> The attached patch makes Distinct(NULL) == {}, although it could return NULL.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira