nastra commented on code in PR #14573:
URL: https://github.com/apache/iceberg/pull/14573#discussion_r2522040485
##########
core/src/main/java/org/apache/iceberg/rest/TableScanResponseParser.java:
##########
@@ -105,8 +105,8 @@ public static void serializeScanTasks(
if (fileScanTasks != null) {
gen.writeArrayFieldStart(FILE_SCAN_TASKS);
- Set<Integer> deleteFileReferences = Sets.newHashSet();
for (FileScanTask fileScanTask : fileScanTasks) {
+ Set<Integer> deleteFileReferences = Sets.newHashSet();
if (deleteFiles != null) {
for (DeleteFile taskDelete : fileScanTask.deletes()) {
deleteFileReferences.add(deleteFilePathToIndex.get(taskDelete.path().toString()));
Review Comment:
there's also another instance in this class at L99 that we should update
--
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]