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

Gopal V updated HIVE-18610:
---------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0
           Status: Resolved  (was: Patch Available)

> Performance: ListKeyWrapper does not check for hashcode equals, before 
> comparing members
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-18610
>                 URL: https://issues.apache.org/jira/browse/HIVE-18610
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 3.0.0
>            Reporter: Gopal V
>            Assignee: Gopal V
>            Priority: Major
>              Labels: complextype, performance
>             Fix For: 3.0.0
>
>         Attachments: HIVE-18610.1.patch, HIVE-18610.2.patch
>
>
> ListKeyWrapper::equals() 
> {code}
>     @Override
>     public boolean equals(Object obj) {
>       if (!(obj instanceof ListKeyWrapper)) {
>         return false;
>       }
>       Object[] copied_in_hashmap = ((ListKeyWrapper) obj).keys;
>       return equalComparer.areEqual(copied_in_hashmap, keys);
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to