nastra commented on code in PR #7337:
URL: https://github.com/apache/iceberg/pull/7337#discussion_r1165597698
##########
core/src/main/java/org/apache/iceberg/CatalogUtil.java:
##########
@@ -448,4 +475,46 @@ public static MetricsReporter
loadMetricsReporter(Map<String, String> properties
return reporter;
}
+
+ static class CompositeMetricsReporter implements MetricsReporter {
Review Comment:
In fact I just realized that the current implementation of
`TableScanContext#reportWith()` that uses `Collection<MetricsReporter>`
actually can contain the same reporter multiple times (which I've seen in some
tests where the same thing is reported twice to the log file)

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