Skip to content

[Java] ListVector hashCode() is not correct #22621

@asfimport

Description

@asfimport

Current implement is not correct:

for (int i = start; i < end; i++) {
  hash = 31 * vector.hashCode(i);
}

Should be something like:

hash = 31 * hash + vector.hashCode(i);

Reporter: Ji Liu / @tianchen92
Assignee: Ji Liu / @tianchen92

PRs and other links:

Note: This issue was originally created as ARROW-6234. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions