FANNG1 commented on code in PR #7626:
URL: https://github.com/apache/gravitino/pull/7626#discussion_r2196442027
##########
iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergTableOperations.java:
##########
@@ -89,13 +90,26 @@ public IcebergTableOperations(
@Timed(name = "list-table." + MetricNames.HTTP_PROCESS_DURATION, absolute =
true)
@ResponseMetered(name = "list-table", absolute = true)
public Response listTable(
- @PathParam("prefix") String prefix, @Encoded() @PathParam("namespace")
String namespace) {
+ @PathParam("prefix") String prefix, @Encoded() @PathParam("namespace")
String namespace)
+ throws Exception {
Review Comment:
Could you catch the exception likee below code? because throwing exception
may make the Iceberg auth InterceptionService work abnormally.
https://github.com/apache/gravitino/blob/b261600136f408f404f242629a7b90898d806d82/server/src/main/java/org/apache/gravitino/server/web/rest/TableOperations.java#L132-L135
--
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]