peter-toth opened a new pull request #33021:
URL: https://github.com/apache/spark/pull/33021


   ### What changes were proposed in this pull request?
   This PR unifies reuse map data structures in non-AQE and AQE rules to a 
simple `Map[<canonicalized plan>, <plan>]` based on the discussion here: 
https://github.com/apache/spark/pull/28885#discussion_r655073897
   
   ### Why are the changes needed?
   The proposed `Map[<canonicalized plan>, <plan>]` is simpler than the 
currently used `Map[<schema>, ArrayBuffer[<plan>]]` in 
`ReuseMap`/`ReuseExchangeAndSubquery` (non-AQE) and consistent with the 
`ReuseAdaptiveSubquery` (AQE) subquery reuse rule.
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   Existing UTs.


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