[
https://issues.apache.org/jira/browse/ARROW-6234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Micah Kornfield resolved ARROW-6234.
------------------------------------
Resolution: Fixed
Fix Version/s: 0.15.0
Issue resolved by pull request 5082
[https://github.com/apache/arrow/pull/5082]
> [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
> Fix For: 0.15.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)