wzhfy commented on a change in pull request #29589:
URL: https://github.com/apache/spark/pull/29589#discussion_r482897119
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/SubqueryBroadcastExec.scala
##########
@@ -110,5 +115,6 @@ case class SubqueryBroadcastExec(
object SubqueryBroadcastExec {
private[execution] val executionContext =
ExecutionContext.fromExecutorService(
- ThreadUtils.newDaemonCachedThreadPool("dynamicpruning", 16))
+ ThreadUtils.newDaemonCachedThreadPool("dynamic-pruning",
+ SQLConf.get.getConf(StaticSQLConf.SUBQUERY_MAX_THREAD_THRESHOLD)))
Review comment:
yes we should use `BROADCAST_EXCHANGE_MAX_THREAD_THRESHOLD`, thanks
----------------------------------------------------------------
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]