roryqi commented on code in PR #10536:
URL: https://github.com/apache/gravitino/pull/10536#discussion_r2992037879


##########
iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergTableOperations.java:
##########
@@ -311,6 +314,19 @@ public Response loadTable(
             TableIdentifier tableIdentifier = TableIdentifier.of(icebergNS, 
tableName);
             IcebergRequestContext context =
                 new IcebergRequestContext(httpServletRequest(), catalogName, 
isCredentialVending);
+
+            // Fast path: if client sent If-None-Match, try to resolve ETag 
without full table load
+            if (ifNoneMatch != null && !ifNoneMatch.isEmpty()) {

Review Comment:
   Could u use StringUtils.isNotBlank instead?



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