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)

Reply via email to