You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/08/14 13:53:42 UTC
[GitHub] [spark] leanken commented on a change in pull request #29431: [SPARK-32615][SQL] Fix AQE aggregateMetrics java.util.NoSuchElementException
leanken commented on a change in pull request #29431:
URL: https://github.com/apache/spark/pull/29431#discussion_r470637430
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/execution/ui/SQLAppStatusListener.scala
##########
@@ -222,7 +222,8 @@ class SQLAppStatusListener(
}
// Find the max for each metric id between all stages.
- maxMetrics.foreach { case (id, value, taskId, stageId, attemptId) =>
+ maxMetrics.filter(m => metricTypes.contains(m._1)).foreach {
+ case (id, value, taskId, stageId, attemptId) =>
Review comment:
ok
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org