wangyum opened a new pull request #31984: URL: https://github.com/apache/spark/pull/31984
### What changes were proposed in this pull request? Improve dynamic partition pruning evaluation to make filtering side data size must smaller than `math.max(10MB, spark.sql.autoBroadcastJoinThreshold)`. ### Why are the changes needed? 1. Fast fail if filtering side can not build broadcast. 2. We can safely disable `spark.sql.optimizer.dynamicPartitionPruning.reuseBroadcastOnly`. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org