dongjoon-hyun commented on a change in pull request #28037: [SPARK-31271][UI] 
fix web ui for driver side SQL metrics
URL: https://github.com/apache/spark/pull/28037#discussion_r398890557
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/metric/SQLMetrics.scala
 ##########
 @@ -116,26 +116,23 @@ object SQLMetrics {
     // data size total (min, med, max):
     // 100GB (100MB, 1GB, 10GB)
     val acc = new SQLMetric(SIZE_METRIC, -1)
-    acc.register(sc, name = Some(s"$name total (min, med, max (stageId 
(attemptId): taskId))"),
 
 Review comment:
   Could you fix the following in `SQLMetricsTestUtils.scala`?
   ```scala
       val totalNumBytesMetric = executedNode.metrics.find(
         _.name == "written output total (min, med, max (stageId (attemptId): 
taskId))").get
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to