jackye1995 commented on a change in pull request #4138:
URL: https://github.com/apache/iceberg/pull/4138#discussion_r807581279
##########
File path: core/src/main/java/org/apache/iceberg/SetSnapshotOperation.java
##########
@@ -113,7 +113,7 @@ public void commit() {
.run(taskOps -> {
Snapshot snapshot = apply();
TableMetadata updated = TableMetadata.buildFrom(base)
- .setCurrentSnapshot(snapshot.snapshotId())
+ .setBranchSnapshot(snapshot.snapshotId(),
SnapshotRef.MAIN_BRANCH)
Review comment:
That feature is not added yet. We are only keeping this the same as the
behavior before introducing branching. We will start to allow custom branch
after adding the related methods for branching and cherry-picking.
--
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]