Github user rdblue commented on a diff in the pull request:

    https://github.com/apache/spark/pull/17540#discussion_r112606757
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/ui/SQLListener.scala ---
    @@ -353,11 +353,19 @@ class SQLListener(conf: SparkConf) extends 
SparkListener with Logging {
             }
     
             val driverUpdates = executionUIData.driverAccumUpdates.toSeq
    -        val totalUpdates = (accumulatorUpdates ++ driverUpdates).filter {
    -          case (id, _) => executionUIData.accumulatorMetrics.contains(id)
    +        // filter out updates that aren't Longs
    --- End diff --
    
    Because all of the SQL UI metrics are longs. We can safely discard anything 
else without missing SQL metrics. It's as close as we can get to the correct 
set.


---
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]

Reply via email to