maryannxue commented on pull request #30829:
URL: https://github.com/apache/spark/pull/30829#issuecomment-773444471


   @ekoifman This check is to guard against re-planning that turns an already 
shuffle-materialized SMJ to BHJ while causing extra shuffles downstream.
   
   One way around this might be to cost a skew join differently so it counters 
the increased cost of the extra shuffle.


----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to