This is an automated email from the ASF dual-hosted git repository.

yuzelin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new 2771e24b8d [hotfix] Fix npe when init TagManager with empty branch 
(#5948)
2771e24b8d is described below

commit 2771e24b8d32c64b54dc909785d367f5bd1db667
Author: kevin <38326692+qingwei...@users.noreply.github.com>
AuthorDate: Thu Jul 24 10:24:32 2025 +0800

    [hotfix] Fix npe when init TagManager with empty branch (#5948)
---
 paimon-core/src/main/java/org/apache/paimon/utils/TagManager.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/paimon-core/src/main/java/org/apache/paimon/utils/TagManager.java 
b/paimon-core/src/main/java/org/apache/paimon/utils/TagManager.java
index 6a0ab615bc..06f0dc7330 100644
--- a/paimon-core/src/main/java/org/apache/paimon/utils/TagManager.java
+++ b/paimon-core/src/main/java/org/apache/paimon/utils/TagManager.java
@@ -96,7 +96,7 @@ public class TagManager {
             @Nullable TagPeriodHandler tagPeriodHandler) {
         this.fileIO = fileIO;
         this.tablePath = tablePath;
-        this.branch = branch;
+        this.branch = BranchManager.normalizeBranch(branch);
         this.tagPeriodHandler = tagPeriodHandler;
     }
 

Reply via email to