rdblue commented on code in PR #18884:
URL: https://github.com/apache/iceberg/pull/18884#discussion_r4569389761
##########
core/src/test/java/org/apache/iceberg/TestFilePlanner.java:
##########
@@ -307,7 +308,8 @@ void tasksContainProjectedStats(FileFormat format) throws
IOException {
int idFieldId = TABLE_SCHEMA.findField("id").fieldId();
int dataFieldId = TABLE_SCHEMA.findField("data").fieldId();
List<FileScanTask> tasks =
- plan(root, UNPARTITIONED_SPECS, planner ->
planner.projectStats(idFieldId));
+ plan(
+ root, UNPARTITIONED_SPECS, planner ->
planner.projectStats(ImmutableSet.of(idFieldId)));
Review Comment:
This should be reverted with the new methods. The int... method calls the
`Set<Integer>` method.
--
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]