Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/13189#discussion_r66345250
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/exchange/BroadcastExchangeExec.scala
---
@@ -92,6 +93,14 @@ case class BroadcastExchangeExec(
val broadcasted = sparkContext.broadcast(relation)
longMetric("broadcastTime") += (System.nanoTime() -
beforeBroadcast) / 1000000
+
+ // There are some cases we don't care about the metrics and call
`SparkPlan.doExecute`
+ // directly without setting an execution id. We should be tolerant
to it.
+ if (executionId != null) {
--- End diff --
it can be null for some cases, see
https://github.com/apache/spark/pull/13189#issuecomment-224450749
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]