[
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)