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


##########
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:
   I'll open a separate PR to actually do a `HEAD` request when checking if a 
view exists



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to