You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2018/02/02 06:57:00 UTC

[jira] [Assigned] (HIVE-18610) Performance: ListKeyWrapper does not check for hashcode equals, before comparing members

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

Gopal V reassigned HIVE-18610:
------------------------------

    Assignee: Gopal V

> 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
>            Reporter: Gopal V
>            Assignee: Gopal V
>            Priority: Major
>
> 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)