-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Added new configuration to pass catalog name to metastore when creati… #24235
base: master
Are you sure you want to change the base?
Added new configuration to pass catalog name to metastore when creati… #24235
Conversation
This reverts commit 6f7ea4df0d7a6814077a05242950c5dce3bb1831.
00027a7
to
e72d7ff
Compare
Saved that user @AnuragKDwivedi is from IBM |
Consider adding documentation for this configuration property. Perhaps in https://github.com/prestodb/presto/blob/master/presto-docs/src/main/sphinx/admin/properties.rst. |
…given catalog Revised getDatabases implementation to pull all database names for a given catalog. If the catalog name is not present then getAllDatabases method will be called.
… and primary key api calls
…w property can be used
9b9b2d9
to
c97e5bf
Compare
New release note guidelines as of last week: PR #24354 automatically adds links to this PR to the release notes. Please remove the manual PR link in the following format from the release note entries for this PR.
I have updated the Release Notes Guidelines to remove the examples of manually adding the PR link. |
Description
This PR introduces a new configuration that can be applied to Hive, Hudi, Delta, and Iceberg catalog properties. The configuration enables the catalog name to be passed to the metastore, significantly enhancing the metastore's capabilities for managing and organizing schemas and tables based on the catalog name.
By passing the catalog name, the metastore can now support unique schema creation under different catalogs, as it already recognizes the combination of catalog and schema as unique. Additionally, this change allows the metastore to filter schemas at the metastore layer itself, making schema management more efficient.
Motivation and Context
Previously, due to the absence of the catalog name in metastore interactions, all schemas were created under the default "hive" catalog. This limitation made it impossible for users to filter or retrieve schemas associated with a specific catalog. The metastore lacked the ability to distinguish between schemas created under different catalogs.
With this update:
This change addresses a long-standing limitation and significantly improves schema management in environments using Hive, Hudi, Delta, and Iceberg catalogs.
#22895
Impact
NA
Test Plan
CI passed
Contributor checklist