You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Nick White (JIRA)" <ji...@apache.org> on 2013/01/07 04:24:12 UTC
[jira] [Updated] (PIG-3115) Distinct Build-in Function Doesn't
Handle Null Bags
[ https://issues.apache.org/jira/browse/PIG-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick White updated PIG-3115:
----------------------------
Status: Patch Available (was: Open)
> 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