amogh-jahagirdar commented on code in PR #9503: URL: https://github.com/apache/iceberg/pull/9503#discussion_r1457616434
########## core/src/test/java/org/apache/iceberg/TestTableMetadata.java: ########## @@ -1729,6 +1729,46 @@ public void testNoTrailingLocationSlash() { meta.location()); } + @Test + public void testCompressionDefaultPropertyForParquet() { + Map<String, String> properties = + ImmutableMap.of(TableProperties.DEFAULT_FILE_FORMAT, FileFormat.PARQUET.name()); + TableMetadata metadata = + TableMetadata.newTableMetadata( + TEST_SCHEMA, SPEC_5, SORT_ORDER_3, "/some-location/", properties); + + Assertions.assertThat(metadata.property(TableProperties.PARQUET_COMPRESSION, null)) + .withFailMessage( Review Comment: Read the docs, I see the difference between the two now :) -- 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