c21 commented on a change in pull request #32544:
URL: https://github.com/apache/spark/pull/32544#discussion_r632296521



##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/exchange/BroadcastExchangeExec.scala
##########
@@ -141,7 +141,8 @@ case class BroadcastExchangeExec(
             longMetric("dataSize") += dataSize
             if (dataSize >= MAX_BROADCAST_TABLE_BYTES) {
               throw new SparkException(
-                s"Cannot broadcast the table that is larger than 8GB: 
${dataSize >> 30} GB")
+                s"Cannot broadcast the table that is larger than" +
+                  s" ${MAX_BROADCAST_TABLE_BYTES >> 30}GB: ${dataSize >> 30} 
GB")

Review comment:
       sorry why `8GB` is not accurate? 
`BroadcastExchangeExec.MAX_BROADCAST_TABLE_BYTES` seems to be set statically as 
`8L << 30`, right?




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