huaxingao commented on code in PR #14196:
URL: https://github.com/apache/iceberg/pull/14196#discussion_r2529348012


##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -1781,13 +1880,19 @@ paths:
         406:
           $ref: '#/components/responses/UnsupportedOperationResponse'
         409:
-          description: Conflict - The target identifier to rename to already 
exists as a table or view
+          description: |
+            Conflict - Multiple conflict scenarios possible:
+            - The target identifier to rename to already exists as a table or 
view
+            - A request with the same Idempotency-Key is already in progress
           content:
             application/json:
               schema:
                 $ref: '#/components/schemas/ErrorModel'
-              example:
-                $ref: '#/components/examples/ViewAlreadyExistsError'
+              examples:
+                NamespaceAlreadyExists:
+                  $ref: '#/components/examples/ViewAlreadyExistsError'
+                IdempotencyInProgress:

Review Comment:
   Thanks for the explanation — that makes sense. I’ll go with the option where 
the service waits to respond until the in-flight request either succeeds or 
fails. I’ll update the PR shortly.



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