Core, API: Add support for recursive namespace listing#16199
Draft
ebyhr wants to merge 1 commit intoapache:mainfrom
Draft
Core, API: Add support for recursive namespace listing#16199ebyhr wants to merge 1 commit intoapache:mainfrom
ebyhr wants to merge 1 commit intoapache:mainfrom
Conversation
6 tasks
ajantha-bhat
reviewed
May 6, 2026
okumin
reviewed
May 6, 2026
| } | ||
| } catch (NoSuchNamespaceException e) { | ||
| // Namespace may have been deleted concurrently, skip it | ||
| } |
Contributor
There was a problem hiding this comment.
Though I'm not confident with the authz semantics against nested namespaces, can this properly handle the case where 403 Forbidden happens?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SHOW SCHEAMS with REST catalog in the Trino Iceberg connector currently gets namespaces recursively
for non-leaf namespaces. It can be time-consuming.
This PR introduces a new recursive option to the REST catalog and the SupportsNamespaces interface
so we can get all namespaces with a single request.
Fixes #13453.
It seems the request comes from the DuckDB community. It's helpful for Trino as well.
Relates to https://lists.apache.org/thread/o6ojgqyzrpwxp1wb0onl7wxmrxrfgx46