You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "talatuyarer (via GitHub)" <gi...@apache.org> on 2026/02/13 23:13:44 UTC
[PR] REST spec: Add Optional UUID for Namespaces to OpenAPI spec [iceberg]
talatuyarer opened a new pull request, #15317:
URL: https://github.com/apache/iceberg/pull/15317
This PR adds an optional `namespace-uuid` to REST API namespace responses. This UUID uniquely identifies a namespace, allowing name reuse, and supports catalog synchronization. We discussed at last Catalog Sync.
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] REST spec: Add Optional UUID for Namespaces to OpenAPI spec [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #15317:
URL: https://github.com/apache/iceberg/pull/15317#issuecomment-4317214738
This pull request has been closed due to lack of activity. This is not a judgement on the merit of the PR in any way. It is just a way of keeping the PR queue manageable. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time.
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] REST spec: Add Optional UUID for Namespaces to OpenAPI spec [iceberg]
Posted by "talatuyarer (via GitHub)" <gi...@apache.org>.
talatuyarer commented on code in PR #15317:
URL: https://github.com/apache/iceberg/pull/15317#discussion_r2838686227
##########
open-api/rest-catalog-open-api.py:
##########
@@ -731,6 +731,11 @@ class Config:
class CreateNamespaceResponse(BaseModel):
namespace: Namespace
+ namespace_uuid: str | None = Field(
Review Comment:
Sounds good! I changed the spec accordingly. I added oneOf we can accept string array or NamespaceObject which has optional uuid field.
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] REST spec: Add Optional UUID for Namespaces to OpenAPI spec [iceberg]
Posted by "danielcweeks (via GitHub)" <gi...@apache.org>.
danielcweeks commented on code in PR #15317:
URL: https://github.com/apache/iceberg/pull/15317#discussion_r2954384097
##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -2185,11 +2156,23 @@ components:
$ref: '#/components/schemas/TableIdentifier'
Namespace:
- description: Reference to one or more levels of a namespace
- type: array
- items:
- type: string
- example: [ "accounting", "tax" ]
+ oneOf:
Review Comment:
This looks like it would be an incompatible change. We might need to consider a new endpoint to represent a new structure (e.g. a v2 list)
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] REST spec: Add Optional UUID for Namespaces to OpenAPI spec [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #15317:
URL: https://github.com/apache/iceberg/pull/15317#issuecomment-4272146218
This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@iceberg.apache.org list. Thank you for your contributions.
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] REST spec: Add Optional UUID for Namespaces to OpenAPI spec [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #15317: REST spec: Add Optional UUID for Namespaces to OpenAPI spec
URL: https://github.com/apache/iceberg/pull/15317
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] REST spec: Add Optional UUID for Namespaces to OpenAPI spec [iceberg]
Posted by "nastra (via GitHub)" <gi...@apache.org>.
nastra commented on code in PR #15317:
URL: https://github.com/apache/iceberg/pull/15317#discussion_r2807184402
##########
open-api/rest-catalog-open-api.py:
##########
@@ -731,6 +731,11 @@ class Config:
class CreateNamespaceResponse(BaseModel):
namespace: Namespace
+ namespace_uuid: str | None = Field(
Review Comment:
I think it's better to put this under the Namespace itself as an optional field, similar to how it's done for TableMetadata/ViewMetadata. We will then most likely need a separate `NamespaceParser` that reads/writes that optional uuid. Right now we only have a `NamespaceSerializer` and `NamespaceDeserializer` which serDe the levels of the namespace directly
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] REST spec: Add Optional UUID for Namespaces to OpenAPI spec [iceberg]
Posted by "talatuyarer (via GitHub)" <gi...@apache.org>.
talatuyarer commented on PR #15317:
URL: https://github.com/apache/iceberg/pull/15317#issuecomment-3941973265
@nastra I've updated the spec and created a separate implementation PR for easier review. You can find the implementation here: https://github.com/apache/iceberg/pull/15408
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org