Skip to content

feat(physical-plan): add bounded memory reservation guard for streaming operators - #23932

Open
glatinone wants to merge 3 commits into
apache:mainfrom
glatinone:feat/stream-memory-reservation-guard
Open

feat(physical-plan): add bounded memory reservation guard for streaming operators#23932
glatinone wants to merge 3 commits into
apache:mainfrom
glatinone:feat/stream-memory-reservation-guard

Conversation

@glatinone

Copy link
Copy Markdown

Introduce OperatorMemoryGuard to wrap per-operator batch allocations with the existing MemoryPool, surfacing DataFusionError::ResourcesExhausted instead of panicking when limits are hit. Adds module export and tests scaffold. Non-invasive integration hooks for hash-join and sort are provided as examples; full wiring remains backward-compatible and no-op when unconstrained.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

glatinone and others added 3 commits July 28, 2026 14:25
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ng operators

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added the physical-plan Changes to the physical-plan crate label Jul 28, 2026
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