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:53:07 UTC

[jira] [Assigned] (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 reassigned PIG-2781:
--------------------------------------

    Assignee: Allan Avendaño
    
> 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