nastra commented on code in PR #6058: URL: https://github.com/apache/iceberg/pull/6058#discussion_r1014201558
########## core/src/main/java/org/apache/iceberg/BaseTableScan.java: ########## @@ -141,6 +142,8 @@ public CloseableIterable<FileScanTask> planFiles() { doPlanFiles(), () -> { planningDuration.stop(); + Map<String, String> metadata = Maps.newHashMap(context().options()); + metadata.putAll(EnvironmentContext.get()); Review Comment: what I meant is that it's helpful to have both to be added as `metadata` to the scan report, since `metadata` is fairly generic -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org