You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by ao...@apache.org on 2024/09/07 04:29:54 UTC
(iceberg) branch main updated: Core: Fix setting hasNewDataFile flag in MergingSnapshotProducer (#11088)
This is an automated email from the ASF dual-hosted git repository.
aokolnychyi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/main by this push:
new 6e05ae022c Core: Fix setting hasNewDataFile flag in MergingSnapshotProducer (#11088)
6e05ae022c is described below
commit 6e05ae022c71a51778cbfcf1585a92b28d796255
Author: Anton Okolnychyi <ao...@apache.org>
AuthorDate: Fri Sep 6 21:29:47 2024 -0700
Core: Fix setting hasNewDataFile flag in MergingSnapshotProducer (#11088)
---
core/src/main/java/org/apache/iceberg/MergingSnapshotProducer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/main/java/org/apache/iceberg/MergingSnapshotProducer.java b/core/src/main/java/org/apache/iceberg/MergingSnapshotProducer.java
index b4c0567ab7..d1eb5d89da 100644
--- a/core/src/main/java/org/apache/iceberg/MergingSnapshotProducer.java
+++ b/core/src/main/java/org/apache/iceberg/MergingSnapshotProducer.java
@@ -984,11 +984,11 @@ abstract class MergingSnapshotProducer<ThisT> extends SnapshotProducer<ThisT> {
writer.close();
}
this.cachedNewDataManifests.addAll(writer.toManifestFiles());
- this.hasNewDataFiles = false;
} catch (IOException e) {
throw new RuntimeIOException(e, "Failed to close manifest writer");
}
});
+ this.hasNewDataFiles = false;
}
return cachedNewDataManifests;