rdblue commented on code in PR #12593: URL: https://github.com/apache/iceberg/pull/12593#discussion_r2011042700
########## core/src/test/java/org/apache/iceberg/TestRowLineageMetadata.java: ########## @@ -70,20 +70,44 @@ public void cleanup() { TestTables.clearTables(); } - @TestTemplate - public void testRowLineageSupported() { - if (formatVersion >= TableMetadata.MIN_FORMAT_VERSION_ROW_LINEAGE) { - assertThat(TableMetadata.buildFromEmpty(formatVersion).enableRowLineage()).isNotNull(); - } else { - assertThatThrownBy(() -> TableMetadata.buildFromEmpty(formatVersion).enableRowLineage()) - .isInstanceOf(IllegalArgumentException.class) - .hasMessageContaining("Cannot use row lineage"); - } + @Test + public void testSnapshotRowIDValidation() { Review Comment: This checks the new validations in `Snapshot`. -- 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