aokolnychyi commented on code in PR #6965:
URL: https://github.com/apache/iceberg/pull/6965#discussion_r1129787866
##########
core/src/main/java/org/apache/iceberg/util/SnapshotUtil.java:
##########
@@ -397,6 +397,52 @@ public static Schema schemaFor(Table table, Long
snapshotId, Long timestampMilli
return table.schema();
}
+ /**
+ * Return the schema of the snapshot at a given branch.
+ *
+ * <p>If branch does not exist, the table schema is returned because it will
be the schema when
Review Comment:
Makes sense to me too.
--
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]