You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@paimon.apache.org by lz...@apache.org on 2024/07/03 05:12:02 UTC

(paimon) branch master updated: [core] BranchesTable column created_from_tag and created_from_snapshot should be nullable (#3659)

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

lzljs3620320 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 52f50c2bc [core] BranchesTable column created_from_tag and created_from_snapshot should be nullable (#3659)
52f50c2bc is described below

commit 52f50c2bc2ffe28672c0756c32dd0a2dc11c63a2
Author: herefree <84...@qq.com>
AuthorDate: Wed Jul 3 13:11:56 2024 +0800

    [core] BranchesTable column created_from_tag and created_from_snapshot should be nullable (#3659)
---
 .../src/main/java/org/apache/paimon/table/system/BranchesTable.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/paimon-core/src/main/java/org/apache/paimon/table/system/BranchesTable.java b/paimon-core/src/main/java/org/apache/paimon/table/system/BranchesTable.java
index f37370641..025a87396 100644
--- a/paimon-core/src/main/java/org/apache/paimon/table/system/BranchesTable.java
+++ b/paimon-core/src/main/java/org/apache/paimon/table/system/BranchesTable.java
@@ -71,8 +71,8 @@ public class BranchesTable implements ReadonlyTable {
                             new DataField(
                                     0, "branch_name", SerializationUtils.newStringType(false)),
                             new DataField(
-                                    1, "created_from_tag", SerializationUtils.newStringType(false)),
-                            new DataField(2, "created_from_snapshot", new BigIntType(false)),
+                                    1, "created_from_tag", SerializationUtils.newStringType(true)),
+                            new DataField(2, "created_from_snapshot", new BigIntType(true)),
                             new DataField(3, "create_time", new TimestampType(false, 3))));
 
     private final FileIO fileIO;