You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by et...@apache.org on 2025/04/08 11:59:00 UTC

(iceberg) branch return-this created (now 832673957c)

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

etudenhoefner pushed a change to branch return-this
in repository https://gitbox.apache.org/repos/asf/iceberg.git


      at 832673957c Core: Return this instead of null in enableRowLineage()

This branch includes the following new commits:

     new 832673957c Core: Return this instead of null in enableRowLineage()

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(iceberg) 01/01: Core: Return this instead of null in enableRowLineage()

Posted by et...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

etudenhoefner pushed a commit to branch return-this
in repository https://gitbox.apache.org/repos/asf/iceberg.git

commit 832673957cea38683ffe0c7c8867d0f726c0244a
Author: Eduard Tudenhoefner <et...@gmail.com>
AuthorDate: Tue Apr 8 13:58:53 2025 +0200

    Core: Return this instead of null in enableRowLineage()
---
 core/src/main/java/org/apache/iceberg/TableMetadata.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/iceberg/TableMetadata.java b/core/src/main/java/org/apache/iceberg/TableMetadata.java
index aa801bfe35..61f3a389fd 100644
--- a/core/src/main/java/org/apache/iceberg/TableMetadata.java
+++ b/core/src/main/java/org/apache/iceberg/TableMetadata.java
@@ -1012,7 +1012,7 @@ public class TableMetadata implements Serializable {
       }
 
       // otherwise this is a no-op
-      return null;
+      return this;
     }
 
     public Builder withMetadataLocation(String newMetadataLocation) {