rdblue commented on a change in pull request #4039:
URL: https://github.com/apache/iceberg/pull/4039#discussion_r801173666
##########
File path: rest_docs/rest-catalog-open-api.yaml
##########
@@ -1381,15 +1381,35 @@ components:
} }
CreateNamespaceResponse:
- description: A succesful call to create a namespace
+ description:
+ Represents a successful call to create a namespace.
+ Returns the namespace created, as well as any properties that were
stored for the namespace,
+ including those the server might have added. Implemenations are not
required to support namespace
+ properties.
content:
application/json:
schema:
type: object
+ required:
+ - namespace
properties:
- created:
- type: boolean
- description: true if the namespace was added to the catalog
+ namespace:
+ $ref: '#/components/schemas/Namespace'
+ properties:
+ type: object
+ additionalProperties:
+ type: string
+ description:
+ Properties stored on the namespace, if supported by the
server.
+ If the server does not support namespace properties, it
should return null for this field.
Review comment:
What is the benefit of requiring `null`? Should this be explicitly null,
like `"properties": null` or can it be omitted?
--
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]