summaryzb opened a new pull request, #50814:
URL: https://github.com/apache/spark/pull/50814

   ### What changes were proposed in this pull request?
   This pr introduce  cancel queryStage mechanism. Cancel the running 
queryStages which are unnecessary since propagate empty relations.
   
   ### Why are the changes needed?
   1. Cancel queryStage mechanism can make AQE more flexible, we can add more 
CBO feature by using this mechanism after this pr merged.
   2. Tasks corresponding to unnecessary running queryStages  occupy the 
executor cores, thus wasting compute resource
   
   
   ### Does this PR introduce _any_ user-facing change?
   Yes, user will see stage failure because of optimized stage cancellation , 
but this failure takes no effect to the query
   
   
   ### How was this patch tested?
   Add new unit test
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No.
   


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