aokolnychyi commented on code in PR #6919:
URL: https://github.com/apache/iceberg/pull/6919#discussion_r1144222794


##########
core/src/main/java/org/apache/iceberg/SnapshotScan.java:
##########
@@ -144,7 +144,9 @@ public CloseableIterable<T> planFiles() {
                   
.scanMetrics(ScanMetricsResult.fromScanMetrics(scanMetrics()))
                   .metadata(metadata)
                   .build();
-          context().metricsReporter().report(scanReport);
+          context()

Review Comment:
   nit: What about an explicit for each in this case? I am not sure such 
statements are easy to read since they are split on multiple lines.
   
   ```
   for (MetricsReporter reporter : context().metricsReporters()) {
     reporter.report(scanReport);
   }
   ```



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

Reply via email to