Skip to content

[VL] Simplify the logic in AppendBatchResizeForShuffleInputAndOutput#12087

Open
marin-ma wants to merge 3 commits into
apache:mainfrom
marin-ma:refine-resize-batches-rule
Open

[VL] Simplify the logic in AppendBatchResizeForShuffleInputAndOutput#12087
marin-ma wants to merge 3 commits into
apache:mainfrom
marin-ma:refine-resize-batches-rule

Conversation

@marin-ma
Copy link
Copy Markdown
Contributor

@marin-ma marin-ma commented May 13, 2026

The current logic in AppendBatchResizeForShuffleInputAndOutput is a bit convoluted and unclear. Refactor it by separating the logic into addResizeBatchesForShuffleInput and addResizeBatchesForShuffleOutput.

For addResizeBatchesForShuffleInput, simply wrap and replace the child of exchange.
For addResizeBatchesForShuffleOutput, when AQE is enabled, extract and wrap the exchange inside ShuffleQueryStageExec, or AQEShuffleReadExec

@github-actions github-actions Bot added the VELOX label May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant