TaoZex commented on code in PR #2748: URL: https://github.com/apache/incubator-paimon/pull/2748#discussion_r1474122716
########## paimon-core/src/main/java/org/apache/paimon/table/AbstractFileStoreTable.java: ########## @@ -289,6 +295,11 @@ public ExpireSnapshots newExpireSnapshots() { @Override public TableCommitImpl newCommit(String commitUser) { + // Compatibility with previous design, the main branch is written by default + return newCommit(commitUser, DEFAULT_MAIN_BRANCH); + } + + public TableCommitImpl newCommit(String commitUser, String branchName) { Review Comment: Example : In FileStoreTableTestBase line 1284 -- 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...@paimon.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org