advancedxy opened a new pull request #25919: [SPARK-15616][SQL] Hive table 
supports partition pruning in JoinSelection
URL: https://github.com/apache/spark/pull/25919
 
 
   ### What changes were proposed in this pull request?
   A new optimizer strategy called `PruneHiveTablePartitions` is added, which 
calculates table size as the total size of pruned partitions. Thus, Spark 
planner can pick up `BroadcastJoin` if the size of pruned partitions is under 
broadcast join threshold.
   
   ### Why are the changes needed?
   This is a performance improvement.
   
   
   ### Does this PR introduce any user-facing change?
   No.
   
   ### How was this patch tested?
   Added unit tests.
   
   This is based on #18193, credits should go to @lianhuiwang.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to