Skip to content

Support u32 indices in HashJoinExec #16179

@Dandandan

Description

@Dandandan

Is your feature request related to a problem or challenge?

Currently we save indices to the batch always as u64 in the HashTable and in the next Vec.
If we have less than u32:MAX (4.2B, i.e. most of the time) items in the build sidre, we can store them as u32 - which should make it fit more easily in the CPU cache.

Describe the solution you'd like

  • Implement optimization to store indices as u32 if possible.
  • Run benchmarks

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions