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

Core: Fix caching table with metadata table names #11123

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

manuzhang
Copy link
Contributor

@manuzhang manuzhang commented Sep 13, 2024

When CachingCatalog finds a table having a MetadataTableType as its identifier name, it will load its namespace as a normal table. However, spark_catalog.default.history is a valid table identifier, although having MetadataTableType as its name. In this case, CachingCatalog throws NoSuchTableException currently. This PR catches the exception and load the table as a normal table.

cc @wypoon @ajantha-bhat @nastra

@manuzhang
Copy link
Contributor Author

@nastra @ajantha-bhat @RussellSpitzer Please take a look when you find time.

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

Successfully merging this pull request may close these issues.

1 participant