flyrain commented on code in PR #14709:
URL: https://github.com/apache/iceberg/pull/14709#discussion_r2604900299


##########
core/src/main/java/org/apache/iceberg/MergingSnapshotProducer.java:
##########
@@ -974,7 +974,12 @@ public List<ManifestFile> apply(TableMetadata base, 
Snapshot snapshot) {
   @Override
   public Object updateEvent() {
     long snapshotId = snapshotId();
-    Snapshot justSaved = ops().refresh().snapshot(snapshotId);
+
+    Snapshot justSaved = ops().current().snapshot(snapshotId);

Review Comment:
   Thanks a lot for the changes, @gaborkaszab ! Should we check if `ops` is an 
instance of `RESTTableOperations` to ensure this is REST operation? 



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