cloud-fan commented on pull request #31653: URL: https://github.com/apache/spark/pull/31653#issuecomment-801934545
> and I need to know which ones were added by OptimizeSkewedJoin and which were added by something else. Sorry, I may miss something. This PR puts `OptimizeSkewedJoin` in the preparation rules. `CostEvaluator` compares the cost of the prepared physical plan and the re-optimized physical plan, so the extra shuffles added by `OptimizeSkewedJoin` is invisible to `CostEvaluator`. As I mentioned, `OptimizeSkewedJoin` should decide if extra shuffles are accepted or not, instead of waiting for the `CostEvaluator` to decided. ---------------------------------------------------------------- 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]
