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


   ### What changes were proposed in this pull request?
   
   This reverts commit aaa0d2a66b6d152f601eafa08c5e17bc087c3a3f.
   
   ### Why are the changes needed?
   
   This approach has 2 disadvantages:
   1. It needs to disable 
`spark.sql.optimizer.dynamicPartitionPruning.reuseBroadcastOnly`.
   2. The filtering side will be evaluated 2 times. For example: 
https://github.com/apache/spark/pull/29726#issuecomment-780266596
   
   Instead, we can use bloom filter join pruning in the future.
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   Existing tests.
   
   Closes #34116 from wangyum/revert-SPARK-32855.
   
   Authored-by: Yuming Wang <[email protected]>
   Signed-off-by: Yuming Wang <[email protected]>
   
   (cherry picked from commit e024bdc30620867943b4b926f703f6a5634f9322)
   


-- 
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: [email protected]

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