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 2022/02/18 23:36:24 UTC
[iceberg] branch 0.13.x updated: Core: Remove accidentally added method to TableMetadata (#4155)
This is an automated email from the ASF dual-hosted git repository.
aokolnychyi pushed a commit to branch 0.13.x
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/0.13.x by this push:
new b2a9a68 Core: Remove accidentally added method to TableMetadata (#4155)
b2a9a68 is described below
commit b2a9a68f031d00e724567e9b9fe274620f1dd9fc
Author: Wing Yew Poon <wy...@apache.org>
AuthorDate: Fri Feb 18 15:36:10 2022 -0800
Core: Remove accidentally added method to TableMetadata (#4155)
---
core/src/main/java/org/apache/iceberg/TableMetadata.java | 4 ----
1 file changed, 4 deletions(-)
diff --git a/core/src/main/java/org/apache/iceberg/TableMetadata.java b/core/src/main/java/org/apache/iceberg/TableMetadata.java
index 89ddee6..164e295 100644
--- a/core/src/main/java/org/apache/iceberg/TableMetadata.java
+++ b/core/src/main/java/org/apache/iceberg/TableMetadata.java
@@ -501,10 +501,6 @@ public class TableMetadata implements Serializable {
return new Builder(this).setCurrentSnapshot(snapshot).build();
}
- public TableMetadata replaceCurrentSnapshot(long snapshotId) {
- return new Builder(this).setCurrentSnapshot(snapshotId).build();
- }
-
public TableMetadata removeSnapshotsIf(Predicate<Snapshot> removeIf) {
List<Snapshot> toRemove = snapshots.stream().filter(removeIf).collect(Collectors.toList());
return new Builder(this).removeSnapshots(toRemove).build();