viirya commented on code in PR #45505:
URL: https://github.com/apache/spark/pull/45505#discussion_r1526889640
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/metric/CustomMetrics.scala:
##########
@@ -70,4 +70,23 @@ object CustomMetrics {
}
}
}
+
+ /**
+ * Merge(add) the values of the corresponding CustomTaskMetric from src
array into target array
+ * adding a new element if it doesn't already exist.
+ */
Review Comment:
```suggestion
/**
* Update the values of the corresponding CustomTaskMetric with same
metric name from src array into target array.
* If the source metric doesn't already exist, adding it to target metric
array.
*/
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]