rdblue commented on code in PR #6267:
URL: https://github.com/apache/iceberg/pull/6267#discussion_r1043908619


##########
core/src/main/java/org/apache/iceberg/TableMetadata.java:
##########
@@ -793,6 +822,18 @@ private static Map<String, SnapshotRef> validateRefs(
     return inputRefs;
   }
 
+  private long computeStatisticsCheckpointSnapshotID() {

Review Comment:
   This doesn't make sense to me and I suspect it should be removed. There is 
no guaranteed order to `snapshots` and the snapshots in that list can be from 
different branches. The first snapshot with a valid stats file has no meaning.



-- 
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