wangyinsheng commented on code in PR #7144:
URL: https://github.com/apache/iceberg/pull/7144#discussion_r1148277358
##########
api/src/main/java/org/apache/iceberg/Table.java:
##########
@@ -346,4 +347,14 @@ default Snapshot snapshot(String name) {
return null;
}
+
+ /**
+ * Returns the metrics reporter for this table.
+ *
+ * @return the metrics reporter for this table.
+ */
+ default MetricsReporter metricsReporter() {
+ throw new UnsupportedOperationException(
+ "metricsReporter is not supported by " + getClass().getName());
Review Comment:
done
##########
api/src/test/java/org/apache/iceberg/TestHelpers.java:
##########
@@ -559,4 +561,21 @@ public List<Long> splitOffsets() {
return null;
}
}
+
+ public static class TestMetricsReporter implements MetricsReporter {
Review Comment:
done
--
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]