wangyum opened a new pull request #29709:
URL: https://github.com/apache/spark/pull/29709


   ### What changes were proposed in this pull request?
   
   This pr add support dynamic partition pruning hint.
   
   
   ### Why are the changes needed?
   
   For some joins, one side is very small but can not broadcast, for example:
   - left join but left side very small
   - right join but the right side very small
   
   Some real case from our cluster:
   - Case 1:
   
![image](https://user-images.githubusercontent.com/5399861/92703898-24b0fc00-f385-11ea-8ed8-be4f9e43460a.png)
   - Case 2:
   
![image](https://user-images.githubusercontent.com/5399861/92704038-3e524380-f385-11ea-9c3a-faba0815cb59.png)
   
   
   At this time, `PlanDynamicPruningFilters` may not insert dynamic partition 
pruning. We can add a hint to support users to force insert a dynamic partition 
pruning for specific side.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   
   ### How was this patch tested?
   
   Unit test.


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



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

Reply via email to