You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Ji Liu (JIRA)" <ji...@apache.org> on 2019/08/14 13:17:00 UTC
[jira] [Created] (ARROW-6234) [Java] ListVector hashCode() is not
correct
Ji Liu created ARROW-6234:
-----------------------------
Summary: [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
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)