amogh-jahagirdar commented on code in PR #10759: URL: https://github.com/apache/iceberg/pull/10759#discussion_r1688761399
########## core/src/test/java/org/apache/iceberg/TestMetadataTableScans.java: ########## @@ -1753,4 +1753,35 @@ public void testPositionDeletesManyColumns() { assertThat(scanTasks.get(0).file().path().toString()).isEqualTo("/path/to/delete1.parquet"); assertThat(scanTasks.get(1).file().path().toString()).isEqualTo("/path/to/delete2.parquet"); } + + @TestTemplate + public void testFilesTableEstimateSize() throws Exception { + preparePartitionedTable(true); + + assertEstimatedSize(new DataFilesTable(table)); + assertEstimatedSize(new AllDataFilesTable(table)); + assertEstimatedSize(new AllFilesTable(table)); + + if (formatVersion != 2) { + assertEstimatedSize(new DeleteFilesTable(table)); + assertEstimatedSize(new AllDeleteFilesTable(table)); + } Review Comment: Maybe misunderstanding something but shouldn't this be `if (formatVersion == 2)` for testing the delete files metadata tables? -- 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