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


##########
iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergTableOperations.java:
##########
@@ -306,7 +313,17 @@ public Response loadTable(
                 new IcebergRequestContext(httpServletRequest(), catalogName, 
isCredentialVending);
             LoadTableResponse loadTableResponse =
                 tableOperationDispatcher.loadTable(context, tableIdentifier);
-            return IcebergRESTUtils.ok(loadTableResponse);
+            String metadataLocation = 
loadTableResponse.tableMetadata().metadataFileLocation();

Review Comment:
   Create table response should return etag, too. You can refer to the document 
https://github.com/apache/iceberg/blob/a8e9ad2ae02fee5766f71a0783f402680da8e219/open-api/rest-catalog-open-api.yaml#L4960



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