We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 117d402 commit b4cb2b6Copy full SHA for b4cb2b6
core/src/main/java/org/apache/iceberg/TableMetadata.java
@@ -498,7 +498,7 @@ public TableMetadata addStagedSnapshot(Snapshot snapshot) {
498
}
499
500
public TableMetadata replaceCurrentSnapshot(Snapshot snapshot) {
501
- return new Builder(this).addSnapshot(snapshot).setCurrentSnapshot(snapshot).build();
+ return new Builder(this).setCurrentSnapshot(snapshot).build();
502
503
504
public TableMetadata removeSnapshotsIf(Predicate<Snapshot> removeIf) {
0 commit comments