DaqianLiao opened a new pull request, #10528: URL: https://github.com/apache/iceberg/pull/10528
This pr simplifies the newTableMetadata method call in Iceberg by removing the redundant TableMetadata class. We can create `TableMetadata` object by using method 'org.apache.iceberg.TableMetadata#newTableMetadata(org.apache.iceberg.Schema, org.apache.iceberg.PartitionSpec, org.apache.iceberg.SortOrder, java.lang.String, java.util.Map<java.lang.String,java.lang.String>)' so that we can remove redundant code as follow: `int formatVersion = PropertyUtil.propertyAsInt( properties, TableProperties.FORMAT_VERSION, DEFAULT_TABLE_FORMAT_VERSION);` -- 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