RussellSpitzer commented on code in PR #11948:
URL: https://github.com/apache/iceberg/pull/11948#discussion_r1913751486


##########
core/src/main/java/org/apache/iceberg/TableMetadata.java:
##########
@@ -1468,6 +1510,28 @@ public Builder setPreviousFileLocation(String 
previousFileLocation) {
       return this;
     }
 
+    public Builder enableRowLineage() {
+      Preconditions.checkArgument(
+          formatVersion >= 3,
+          "Cannot use row lineage with format version %s. Only format version 
3 or higher support row lineage",
+          formatVersion);
+      this.rowLineage = true;
+      changes.add(new MetadataUpdate.EnableRowLineage());
+      return this;
+    }
+
+    Builder incrementLastRowId(long delta) {
+      Preconditions.checkArgument(

Review Comment:
   changed this to private method, so now they only caller is addSnapshot, 
removed related test



-- 
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

Reply via email to