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 2022/05/09 06:45:46 UTC

[GitHub] [spark] mcdull-zhang commented on pull request #36483: [SPARK-39126][SQL] After eliminating join to one side, that side should take advantage of LocalShuffleRead optimization

mcdull-zhang commented on PR #36483:
URL: https://github.com/apache/spark/pull/36483#issuecomment-1120704735

   @ulysses-you   thank you for your suggestion.
   
   If you change the SQL to
   ```sql
   SELECT * from testData LEFT JOIN testData2 ON key = a AND a>10 LATERAL VIEW EXPLODE(array(1,2,3)) AS vid
   ```
   Then physical plan after optimized looks like:
   ```tex
   Generate explode
       Project
           AQEShuffleRead
               ...
   ```
   
   In this way, AQEShuffleRead is under Generate and Project.
   
   Or do you mean to find out all AQEShuffleRead located under Project? Then judge and deal with it?


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

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

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