linzch3 commented on code in PR #19113:
URL: https://github.com/apache/iceberg/pull/19113#discussion_r4708618315
##########
core/src/main/java/org/apache/iceberg/SnapshotScan.java:
##########
@@ -166,7 +166,7 @@ public CloseableIterable<T> planFiles() {
metadata.putAll(EnvironmentContext.get());
ScanReport scanReport =
ImmutableScanReport.builder()
- .schemaId(schema().schemaId())
+ .schemaId(tableSchema().schemaId())
Review Comment:
thx for the review! good point — added a comment there noting that the
report intentionally records the source table schema id, since projected
schemas may carry a default id.
--
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]