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


##########
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:
   that kind of (mandatory) refresh is expected, because it's a lazy refresh, 
that is typically done after a commit. This means that the underlying metadata 
changed after the commit, but we refresh only when accessing data after the 
commit happened. The same is being done in `BaseMetastoreTableOperations`



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