You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/02/05 08:43:34 UTC

[GitHub] [spark] wangyum commented on pull request #31258: [SPARK-34168] [SQL] Support DPP in AQE when the join is Broadcast hash join at the beginning

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



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