jackye1995 commented on a change in pull request #3104:
URL: https://github.com/apache/iceberg/pull/3104#discussion_r737135972
##########
File path: core/src/main/java/org/apache/iceberg/TableMetadata.java
##########
@@ -243,6 +243,9 @@ public String toString() {
private final Map<Integer, SortOrder> sortOrdersById;
private final List<HistoryEntry> snapshotLog;
private final List<MetadataLogEntry> previousFiles;
+ private final List<SnapshotReference> refs;
+ private final Map<String, SnapshotReference> refsByName;
+ private final String currentBranch;
Review comment:
This is currently set to `null` by default. In the design doc I said
default to `main`, but that has to be added after we add the update API in the
next PR. Otherwise the main branch will stale after new snapshot is committed.
--
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]