cloud-fan commented on code in PR #48573:
URL: https://github.com/apache/spark/pull/48573#discussion_r1842208107
##########
sql/catalyst/src/main/java/org/apache/spark/sql/connector/write/Write.java:
##########
@@ -76,4 +77,14 @@ default StreamingWrite toStreaming() {
default CustomMetric[] supportedCustomMetrics() {
return new CustomMetric[]{};
}
+
+ /**
+ * Returns an array of custom metrics which are collected with values at the
driver side only.
+ * Note that these metrics must be included in the supported custom metrics
reported by
+ * `supportedCustomMetrics`.
+ */
+ default CustomTaskMetric [] reportDriverMetrics() {
Review Comment:
```suggestion
default CustomTaskMetric[] reportDriverMetrics() {
```
--
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]