Skip to content

[coalesce] Implement specialized BatchCoalescer::push_batch for PrimitiveArray #7763

@alamb

Description

@alamb

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

The BatchCoalescer 's api push_batch incrementally builds up an array and produces a final output

The specialized implementations can go quite a bit faster (30-50% depending)

Describe the solution you'd like
Improved performance, as measured by benchmarks for the data type named above

cargo bench --bench coalesce_kernels

Describe alternatives you've considered

For primitive arrays, I think we could use a Vec<NativeType> to build up the in progress data and then convert that to the appropriate array type pretty easily

Additional context

Metadata

Metadata

Assignees

Labels

arrowChanges to the arrow crateenhancementAny new improvement worthy of a entry in the changelogperformance

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions