wangyum commented on pull request #31258: URL: https://github.com/apache/spark/pull/31258#issuecomment-773886254
@JkSelf @cloud-fan This implementation can not reuse `BroadcastExchange` if BHJ after SMJ. For example: ```SQL SELECT count(*) FROM (SELECT c.c_customer_sk, s.* FROM customer c JOIN store_sales s ON c.c_customer_sk = ss_customer_sk) t1 JOIN date_dim ON ss_sold_date_sk = d_date_sk AND d_year = 2002 ``` Enable AE | Disable AE -- | -- ![image](https://user-images.githubusercontent.com/5399861/107009405-fddde100-67cf-11eb-8c46-5ed241b31e86.png) | ![image](https://user-images.githubusercontent.com/5399861/107009783-73e24800-67d0-11eb-8f4c-7f9e5869b9fa.png) ---------------------------------------------------------------- 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