szehon-ho commented on code in PR #4516:
URL: https://github.com/apache/iceberg/pull/4516#discussion_r847832326


##########
core/src/main/java/org/apache/iceberg/PartitionsTable.java:
##########
@@ -164,17 +165,20 @@ Partition get(StructLike key) {
   }
 
   static class Partition {
+    private int specId;
     private final StructLike key;
     private long recordCount;
     private int fileCount;
 
     Partition(StructLike key) {
+      this.specId = 0;

Review Comment:
   I see, yea you are right, seems Iceberg re-uses the spec id if we revert the 
spec to a former one.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to