nastra commented on code in PR #11756: URL: https://github.com/apache/iceberg/pull/11756#discussion_r1881884126
########## core/src/main/java/org/apache/iceberg/rest/Endpoint.java: ########## @@ -46,6 +46,8 @@ public class Endpoint { Endpoint.create("POST", ResourcePaths.V1_NAMESPACE_PROPERTIES); public static final Endpoint V1_DELETE_NAMESPACE = Endpoint.create("DELETE", ResourcePaths.V1_NAMESPACE); + public static final Endpoint V1_NAMESPACE_EXISTS = + Endpoint.create("HEAD", ResourcePaths.V1_NAMESPACE); Review Comment: I've opened https://github.com/apache/iceberg/pull/11761 to actually do a HEAD request when checking for namespace existence ########## core/src/main/java/org/apache/iceberg/rest/Endpoint.java: ########## @@ -70,6 +85,7 @@ public class Endpoint { public static final Endpoint V1_DELETE_VIEW = Endpoint.create("DELETE", ResourcePaths.V1_VIEW); public static final Endpoint V1_RENAME_VIEW = Endpoint.create("POST", ResourcePaths.V1_VIEW_RENAME); + public static final Endpoint V1_VIEW_EXISTS = Endpoint.create("HEAD", ResourcePaths.V1_VIEW); Review Comment: https://github.com/apache/iceberg/pull/11760 -- 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