marin-ma opened a new pull request, #12087:
URL: https://github.com/apache/gluten/pull/12087

   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`, handle the cases based on whether 
AQE is enabled:
   - AQE on: extract and wrap the exchange inside `ShuffleQueryStageExec`, or 
`AQEShuffleReadExec`
   - AQE off: directly wrap the exchange


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to