[ 
https://issues.apache.org/jira/browse/PIG-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Allan AvendaƱo updated PIG-2781:
--------------------------------

    Description: 
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.

  was:
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 sorting function are equal, it returns false. Also, on the case of same 
sorting columns plans.

    
> 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
>            Priority: Minor
>
> 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: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to