You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/08/14 13:20:00 UTC
[jira] [Updated] (ARROW-6234) [Java] ListVector hashCode() is not
correct
[ https://issues.apache.org/jira/browse/ARROW-6234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARROW-6234:
----------------------------------
Labels: pull-request-available (was: )
> [Java] ListVector hashCode() is not correct
> -------------------------------------------
>
> Key: ARROW-6234
> URL: https://issues.apache.org/jira/browse/ARROW-6234
> Project: Apache Arrow
> Issue Type: Bug
> Components: Java
> Reporter: Ji Liu
> Assignee: Ji Liu
> Priority: Minor
> Labels: pull-request-available
>
> Current implement is not correct:
> {code:java}
> for (int i = start; i < end; i++) {
> hash = 31 * vector.hashCode(i);
> }
> {code}
> Should be something like:
> {code:java}
> hash = 31 * hash + vector.hashCode(i);{code}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)