ebyhr commented on code in PR #11756:
URL: https://github.com/apache/iceberg/pull/11756#discussion_r1881226290


##########
core/src/main/java/org/apache/iceberg/rest/Endpoint.java:
##########
@@ -61,6 +63,19 @@ public class Endpoint {
       Endpoint.create("POST", ResourcePaths.V1_TABLE_REGISTER);
   public static final Endpoint V1_REPORT_METRICS =
       Endpoint.create("POST", ResourcePaths.V1_TABLE_METRICS);
+  public static final Endpoint V1_TABLE_EXISTS = Endpoint.create("HEAD", 
ResourcePaths.V1_TABLE);

Review Comment:
   nit: I would put this entry under `V1_LOAD_TABLE` for grouping similar 
endpoints.



##########
core/src/main/java/org/apache/iceberg/rest/RESTSessionCatalog.java:
##########
@@ -149,6 +149,7 @@ public class RESTSessionCatalog extends 
BaseViewSessionCatalog
           .add(Endpoint.V1_RENAME_TABLE)
           .add(Endpoint.V1_REGISTER_TABLE)
           .add(Endpoint.V1_REPORT_METRICS)
+          .add(Endpoint.V1_TABLE_EXISTS)

Review Comment:
   nit: I would put this entry under `Endpoint.V1_LOAD_TABLE` for grouping 
similar endpoints.



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to