amogh-jahagirdar commented on code in PR #6634: URL: https://github.com/apache/iceberg/pull/6634#discussion_r1083023727
########## api/src/main/java/org/apache/iceberg/SnapshotUpdate.java: ########## @@ -71,4 +71,8 @@ default ThisT toBranch(String branch) { "Cannot commit to branch %s: %s does not support branch commits", branch, this.getClass().getName())); } + + default String targetBranch() { + return SnapshotRef.MAIN_BRANCH; + } Review Comment: We should probably separate this API PR if we determine this is the right way to solve this issue -- 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-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org