raunaqmorarka commented on code in PR #17754:
URL: https://github.com/apache/iceberg/pull/17754#discussion_r3840023685
##########
core/src/main/java/org/apache/iceberg/MergingSnapshotProducer.java:
##########
@@ -1183,12 +1289,33 @@ private List<DeleteFile> mergeDVs() {
String.format(
"merged-dvs-%s-%s", snapshotId(),
dvMergeAttempt.incrementAndGet())));
- return DVUtil.mergeAndWriteDVsIfRequired(
- dvsByReferencedFile,
- dvOutputLocation,
- fileIO,
- ops().current().specsById(),
- ThreadPools.getDeleteWorkerPool());
+ List<DeleteFile> mergedDVs =
+ DVUtil.mergeAndWriteDVsIfRequired(
+ dvsByReferencedFile,
+ dvOutputLocation,
+ fileIO,
+ ops().current().specsById(),
+ ThreadPools.getDeleteWorkerPool());
+
+ if (requiresMerge) {
+ mergedDVFileLocations.add(dvOutputLocation);
Review Comment:
Changed to track the FileIO-resolved location.
--
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]