pvary commented on code in PR #12979:
URL: https://github.com/apache/iceberg/pull/12979#discussion_r2124129832
##########
flink/v1.20/flink/src/main/java/org/apache/iceberg/flink/sink/FlinkManifestUtil.java:
##########
@@ -66,6 +67,18 @@ static List<DataFile> readDataFiles(
}
}
+ static List<DeleteFile> readDeleteFiles(
+ ManifestFile manifestFile, FileIO io, Map<Integer, PartitionSpec>
specsById)
+ throws IOException {
+ List<DeleteFile> deleteFiles = Lists.newArrayList();
+ try (CloseableIterable<DeleteFile> deleteFileIterable =
+ ManifestFiles.readDeleteManifest(manifestFile, io, specsById)) {
+ Iterables.addAll(deleteFiles, deleteFileIterable);
+ }
+
+ return deleteFiles;
+ }
+
Review Comment:
We can revert these changes too?
I think we don't need to change this file after the simplification
--
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]