Skip to content

HIVE-28908: From clause supports catalog.db.tbl pattern #5774

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zhangbutao
Copy link
Contributor

@zhangbutao zhangbutao commented Apr 16, 2025

Currently, this PR only focus on from clause against the HMS native catalog, and does not involve other external catalogs such as JDBC catalog or Iceberg REST catalog.

We can have some discussions based on this PR and formulate a complete solution for Hive's multi-catalog functionality

For example, we can query a iceberg table by the catalog.db.tbl pattern:

// The catalog of hive can be the HMS native catalog or other external catalog(rest)
// This PR only foucs on HMS native catalog
select * from hive.testicedb.testice;

For the iceberg metadata table, we can use the catalog.db.tbl.meta pattern

select * from hive.testicedb.testice.history;

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

@zhangbutao zhangbutao marked this pull request as draft April 16, 2025 08:50
Copy link

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.

2 participants