Skip to content

Optimize BatchCoalescer::push_batch_with_indices #8957

Closed

Description

@Dandandan

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
We currently have BatchCoalescer:: push_batch_with_filter which can speed up filtering of multiple batches while targeting a batch_size, without extra copies / allocations (see #8951).

It would be nice to speed up BatchCoalescer:: push_batch_with_indices to cover the case of take + concat as well (joins / repartitions ...)

Describe the solution you'd like

This is added, but just uses take followed by the coalesce kernel.
We can speed it up / avoid a copy by handling take internally.

Describe alternatives you've considered

Additional context

Activity

  1. changed the title [-]Support `BatchCoalescer::push_batch_with_indices`[/-] [+]Optimize `BatchCoalescer::push_batch_with_indices`[/+] on Feb 21, 2026
  2. Rich-T-kid commented on Aug 25, 2026

    @Rich-T-kid
    Contributor

    take

  3. added 10 commits that reference this issue on Oct 12, 2026
    03facf1
    ab144b3
    a766c82
    4ebe938
    487650c
    4850db6
    a002f63
    a01b4ff
    1818602
    5c102e4
  4. added 2 commits that reference this issue on Oct 28, 2026
    02e888c
    87aa5ef
  5. added a commit that references this issue on Nov 12, 2026
    b8d7b68
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions