Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise exception if namespace does not exist in load_namespace_properties for Sql Catalog #477

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

rushilshah1
Copy link
Contributor

There is a bug where load_namespace_properties for the SqlCatalog does not raise an exception if the namespace does not exist. This PR fixes it in the same convention as other functions (ref. update_namespace_properties ) and adds a test case for it as well.

@rushilshah1 rushilshah1 marked this pull request as ready for review February 27, 2024 15:47
Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

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

Great catch @rushilshah1 and thanks for adding the test 👍

Copy link
Contributor

@HonahX HonahX left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @rushilshah1 !

@HonahX HonahX merged commit c5735dc into apache:main Feb 27, 2024
6 checks passed
himadripal pushed a commit to himadripal/iceberg-python that referenced this pull request Mar 1, 2024
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