amogh-jahagirdar commented on code in PR #4922:
URL: https://github.com/apache/iceberg/pull/4922#discussion_r887153265


##########
core/src/main/java/org/apache/iceberg/TableMetadata.java:
##########
@@ -529,6 +531,7 @@ public TableMetadata replaceProperties(Map<String, String> 
rawProperties) {
 
     return new Builder(this)
         .setProperties(updated)
+        .setRef(SnapshotRef.MAIN_BRANCH, 
SnapshotRef.branchBuilder(currentSnapshotId).build())

Review Comment:
   Good point, I should be setting this in the builder as that's the whole 
point of it. I'll update this



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