flyrain commented on code in PR #14709:
URL: https://github.com/apache/iceberg/pull/14709#discussion_r2616604010
##########
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 for the explanation. To be clear, I'm all for a generic way instead
of dedicating to one type of table operation. My confusion and concern came
from the PR description as the following:
> With RESTTableOperations it's not required to perform a refresh after
committing a merge append because the commit already refreshes table metadata.
--
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]