JkSelf commented on pull request #31756:
URL: https://github.com/apache/spark/pull/31756#issuecomment-795007122


   @cloud-fan 
   This approach mainly contain three steps.
   
   1. Find the reused exchange. If exist,  it will apply the DPP filter.
   2. In order to reuse the exchange stored in 
`AdaptiveExecutionContext#stageCache`, we wrap the `AdaptiveSparkPlanExec `plan 
in `SubqueryAdaptiveBroadcastExec`.
   3. `SubqueryAdaptiveBroadcastExec#executeCollect `will reuse the exchange in 
runtime by calling the `AdaptiveSparkPlanExec#getFinalPhysicalPlan()`


----------------------------------------------------------------
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.

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