You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/01/11 18:49:49 UTC

[GitHub] [iceberg] jackye1995 commented on a change in pull request #3104: Core: add snapshot reference to table metadata

jackye1995 commented on a change in pull request #3104:
URL: https://github.com/apache/iceberg/pull/3104#discussion_r782436294



##########
File path: api/src/main/java/org/apache/iceberg/Table.java
##########
@@ -173,6 +190,13 @@ default String name() {
    */
   UpdateLocation updateLocation();
 
+  /**
+   * Create a new {@link UpdateSnapshotRefs} to update snapshot references and commit the changes.
+   *
+   * @return a new {@link UpdateSnapshotRefs}
+   */
+  UpdateSnapshotRefs updateRefs();

Review comment:
       Yes I do have exactly the same thought, where append will go to the `main` branch by default and an override is allowed. I think a follow-up PR is needed for this feature.




-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org