rahil-c commented on code in PR #1439:
URL: https://github.com/apache/polaris/pull/1439#discussion_r2059201135


##########
service/common/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergCatalogHandler.java:
##########
@@ -587,7 +604,17 @@ public Optional<LoadTableResponse> loadTableIfStale(
     }
 
     LoadTableResponse rawResponse = CatalogHandlers.loadTable(baseCatalog, 
tableIdentifier);
-    return Optional.of(filterResponseToSnapshots(rawResponse, snapshots));
+    Optional<LoadTableResponse> optionalLoadTableResponse = 
Optional.of(filterResponseToSnapshots(rawResponse, snapshots));
+    if (tableEntity != null

Review Comment:
   I added changes in the `GenericTableCatalogHandler`, trying to understand 
though why this needs to be flagged off?



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