rdblue commented on code in PR #6047:
URL: https://github.com/apache/iceberg/pull/6047#discussion_r1004619505
##########
core/src/main/java/org/apache/iceberg/BaseTableScan.java:
##########
@@ -135,7 +137,15 @@ public CloseableIterable<FileScanTask> planFiles() {
planningDuration.stop();
ScanReport scanReport =
ImmutableScanReport.builder()
- .projection(schema())
+ .schemaId(schema().schemaId())
+ .projectedFieldIds(
+ schema().columns().stream()
+ .map(NestedField::fieldId)
+ .collect(Collectors.toList()))
Review Comment:
This needs to also include the nested IDs by calling
`TypeUtil.getProjectedIds`.
--
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]