Github user gengliangwang commented on a diff in the pull request: https://github.com/apache/spark/pull/23002#discussion_r232706543 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/ui/SQLAppStatusListener.scala --- @@ -159,7 +159,7 @@ class SQLAppStatusListener( } private def aggregateMetrics(exec: LiveExecutionData): Map[Long, String] = { - val metricIds = exec.metrics.map(_.accumulatorId).sorted + val metricIds = exec.metrics.map(_.accumulatorId).toSet --- End diff -- Actually this one can be merged into `metricTypes`.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org