nastra commented on code in PR #8851:
URL: https://github.com/apache/iceberg/pull/8851#discussion_r1362046505


##########
core/src/main/java/org/apache/iceberg/view/BaseView.java:
##########
@@ -97,4 +98,9 @@ public ReplaceViewVersion replaceVersion() {
   public UpdateLocation updateLocation() {
     return new SetViewLocation(ops);
   }
+
+  @Override
+  public UUID uuid() {
+    return UUID.fromString(ops.current().uuid());

Review Comment:
   it should not go through an update. The purpose of `current()` is to return 
the currently loaded metadata, without checking for updates. If there's a 
catalog where `current()` does a refresh, then that's a bug



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