Skip to content

Add support for registering views#3288

Open
ebyhr wants to merge 1 commit intoapache:mainfrom
ebyhr:ebi/register_view
Open

Add support for registering views#3288
ebyhr wants to merge 1 commit intoapache:mainfrom
ebyhr:ebi/register_view

Conversation

@ebyhr
Copy link
Copy Markdown
Member

@ebyhr ebyhr commented Apr 26, 2026

Rationale for this change

Are these changes tested?

tests/catalog/test_rest.py contains new tests.

Are there any user-facing changes?

This PR adds a new register_view method to catalog.

try:
response.raise_for_status()
except HTTPError as exc:
_handle_non_200_response(exc, {409: ViewAlreadyExistsError})
Copy link
Copy Markdown
Contributor

@gabeiglio gabeiglio Apr 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonder if here we can catch a TableAlreadyExists if there is a table already registered with the same identifier?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants