You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Dmitriy V. Ryaboy (JIRA)" <ji...@apache.org> on 2012/09/03 00:55:07 UTC
[jira] [Updated] (PIG-2781) LOSort isEqual method
[ https://issues.apache.org/jira/browse/PIG-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitriy V. Ryaboy updated PIG-2781:
-----------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Committed to trunk.
Thanks for pointing this out, Allan.
> LOSort isEqual method
> ---------------------
>
> Key: PIG-2781
> URL: https://issues.apache.org/jira/browse/PIG-2781
> Project: Pig
> Issue Type: Bug
> Components: build
> Reporter: Allan AvendaƱo
> Assignee: Allan AvendaƱo
> Priority: Minor
> Fix For: 0.11
>
> Attachments: PIG-2781-1.patch
>
>
> While I was checking the logical operators, I found that LOSort does this while comparing two logical operators:
> if (mSortFunc.equals(otherSort.getUserFunc()))
> return false;
> ...
> if (mSortColPlans.equals(otherSort.getSortColPlans()))
> return false;
>
> If UDF sorting functions are equal, then it returns false. Also, in the case of same sorting columns plans.
--
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