jackye1995 commented on code in PR #6650:
URL: https://github.com/apache/iceberg/pull/6650#discussion_r1121154697
##########
core/src/main/java/org/apache/iceberg/util/SnapshotUtil.java:
##########
@@ -394,4 +396,42 @@ public static Schema schemaFor(Table table, Long
snapshotId, Long timestampMilli
return table.schema();
}
+
+ /**
+ * Fetch the snapshot at the head of the given branch in the given table.
+ *
+ * <p>This method calls {@link Table#currentSnapshot()} instead of using
branch API {@link
+ * Table#snapshot(String)} for the main branch to ensure existing tests
still goes through the old
Review Comment:
good point, I can rephrase this to avoid saying tests
--
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]