Github user carsonwang commented on a diff in the pull request:
https://github.com/apache/spark/pull/17009#discussion_r102656311
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/execution/ui/SQLListenerSuite.scala
---
@@ -147,6 +147,10 @@ class SQLListenerSuite extends SparkFunSuite with
SharedSQLContext with JsonTest
checkAnswer(listener.getExecutionMetrics(0),
accumulatorUpdates.mapValues(_ * 2))
+ // Non-existing driver accumulator updates should be filtered and no
exception will be thrown.
--- End diff --
I was doing some own experiments that adds physical operators at runtime.
The metrics of the added operators are not registered to the execution so I got
a NoSuchElementException.
---
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]