wangyum commented on a change in pull request #31984:
URL: https://github.com/apache/spark/pull/31984#discussion_r603750044



##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/dynamicpruning/PartitionPruning.scala
##########
@@ -48,6 +49,10 @@ import 
org.apache.spark.sql.execution.datasources.{HadoopFsRelation, LogicalRela
  */
 object PartitionPruning extends Rule[LogicalPlan] with PredicateHelper with 
JoinSelectionHelper {
 
+  private val buildBroadcastThreshold = math.max(
+    
AUTO_BROADCASTJOIN_THRESHOLD.defaultValue.getOrElse(conf.autoBroadcastJoinThreshold),

Review comment:
       OK, changed it to `(canBroadcastBySize(right, conf) || 
hintToBroadcastRight(hint))`.




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

Reply via email to