dimas-b commented on code in PR #1426:
URL: https://github.com/apache/polaris/pull/1426#discussion_r2056945005


##########
service/common/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergCatalog.java:
##########
@@ -1203,6 +1215,77 @@ private class BasePolarisTableOperations extends 
BaseMetastoreTableOperations {
     }
 
     @Override
+    public TableMetadata current() {
+      if (shouldRefresh) {
+        return refresh();
+      }
+      return currentMetadata;
+    }
+
+    @Override
+    public TableMetadata refresh() {

Review Comment:
   I suppose a lot of code came from Iceberg, but this class probably deserves 
a `CODE_COPIED_TO_POLARIS` mark (in comments, example in 
`PolarisRestCatalogIntegrationTest`).



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

Reply via email to