Skip to content

feat: release memory for LimitedBatchCoalescer once reached the limit/finished#23563

Draft
rluvaton wants to merge 4 commits into
apache:mainfrom
rluvaton:free-memory-for-coalescer-on-finished
Draft

feat: release memory for LimitedBatchCoalescer once reached the limit/finished#23563
rluvaton wants to merge 4 commits into
apache:mainfrom
rluvaton:free-memory-for-coalescer-on-finished

Conversation

@rluvaton

@rluvaton rluvaton commented Jul 14, 2026

Copy link
Copy Markdown
Member

Which issue does this PR close?

N/A

Rationale for this change

no need to hold on memory when no more data will be sent

What changes are included in this PR?

on finish/limit we replace the BatchCoalescer with a mock one to drop all the data

Are these changes tested?

No since there is no memory reservation (until #23385 is resolved)

Are there any user-facing changes?

not public facing ones

@github-actions github-actions Bot added the physical-plan Changes to the physical-plan crate label Jul 14, 2026
@rluvaton rluvaton marked this pull request as draft July 14, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

physical-plan Changes to the physical-plan crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant