JoshRosen commented on code in PR #47374: URL: https://github.com/apache/spark/pull/47374#discussion_r1683615802
########## sql/core/src/main/scala/org/apache/spark/sql/execution/exchange/BroadcastExchangeExec.scala: ########## @@ -73,6 +73,16 @@ trait BroadcastExchangeLike extends Exchange { protected def completionFuture: scala.concurrent.Future[broadcast.Broadcast[Any]] + /** + * Cancels broadcast job with a reason. + */ + final def cancelBroadcastJob(reason: String): Unit = { Review Comment: Likewise, any way that we can factor out the common duplicated code here as well? -- 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: reviews-unsubscr...@spark.apache.org 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