You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "ajantha-bhat (via GitHub)" <gi...@apache.org> on 2023/03/02 06:24:51 UTC

[GitHub] [iceberg] ajantha-bhat commented on a diff in pull request #6975: Core: Minor refactoring of PartitionsTable

ajantha-bhat commented on code in PR #6975:
URL: https://github.com/apache/iceberg/pull/6975#discussion_r1122644862


##########
core/src/main/java/org/apache/iceberg/PartitionsTable.java:
##########
@@ -45,9 +45,14 @@ public class PartitionsTable extends BaseMetadataTable {
     this.schema =
         new Schema(
             Types.NestedField.required(1, "partition", Partitioning.partitionType(table)),
-            Types.NestedField.required(2, "record_count", Types.LongType.get()),
-            Types.NestedField.required(3, "file_count", Types.IntegerType.get()),
-            Types.NestedField.required(4, "spec_id", Types.IntegerType.get()));
+            Types.NestedField.required(4, "spec_id", Types.IntegerType.get()),

Review Comment:
   we have discussed this here 
   https://github.com/apache/iceberg/pull/6661#discussion_r1087858684
   
   I think @RussellSpitzer and @szehon-ho agree that there is no impact from column re-ordering. 
   Spec-id in the middle really looks odd when we add other counters. 



-- 
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-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org