ebyhr commented on code in PR #11779:
URL: https://github.com/apache/iceberg/pull/11779#discussion_r1885915752


##########
core/src/main/java/org/apache/iceberg/MetadataUpdateParser.java:
##########
@@ -548,7 +552,8 @@ private static MetadataUpdate readSetSnapshotRef(JsonNode 
node) {
 
   private static MetadataUpdate readRemoveSnapshotRef(JsonNode node) {
     String refName = JsonUtil.getString(REF_NAME, node);
-    return new MetadataUpdate.RemoveSnapshotRef(refName);
+    boolean purge = JsonUtil.getBool(PURGE, node);

Review Comment:
   Updated. The new logic sets `true` by default for backward compatibility. 



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to