Skip to content

Commit c303b1b

Browse files
seancxmaoHyukjinKwon
authored andcommitted
[MINOR][DOCS] Fix comments of SQLExecution#withExecutionId
## What changes were proposed in this pull request? Fix comment. Change `BroadcastHashJoin.broadcastFuture` to `BroadcastExchangeExec.relationFuture`: https://github.com/apache/spark/blob/d28d5732ae205771f1f443b15b10e64dcffb5ff0/sql/core/src/main/scala/org/apache/spark/sql/execution/exchange/BroadcastExchangeExec.scala#L66 ## How was this patch tested? N/A Author: seancxmao <seancxmao@gmail.com> Closes #21113 from seancxmao/SPARK-13136.
1 parent 281c1ca commit c303b1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/SQLExecution.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ object SQLExecution {
8888
/**
8989
* Wrap an action with a known executionId. When running a different action in a different
9090
* thread from the original one, this method can be used to connect the Spark jobs in this action
91-
* with the known executionId, e.g., `BroadcastHashJoin.broadcastFuture`.
91+
* with the known executionId, e.g., `BroadcastExchangeExec.relationFuture`.
9292
*/
9393
def withExecutionId[T](sc: SparkContext, executionId: String)(body: => T): T = {
9494
val oldExecutionId = sc.getLocalProperty(SQLExecution.EXECUTION_ID_KEY)

0 commit comments

Comments
 (0)