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


##########
core/src/main/java/org/apache/iceberg/TableMetadataParser.java:
##########
@@ -226,8 +225,7 @@ public static void toJson(TableMetadata metadata, 
JsonGenerator generator) throw
       }
     }
 
-    if (metadata.rowLineageEnabled()) {
-      generator.writeBooleanField(ROW_LINEAGE, metadata.rowLineageEnabled());
+    if (metadata.formatVersion() >= 3) {

Review Comment:
   There is a constant in TableMetadata for the 3 here, just a nit but I think 
it's easier to see if (version > row lineage) do row lineage stuff



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