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

Use Git submodule for Hive Thrift API #5

Merged
merged 1 commit into from
Jun 22, 2023
Merged

Conversation

criccomini
Copy link
Owner

Rather than static/hms.thrift, use a git submodule to reference Trino's Hive Metastore Thrift repo. I chose this one over
Hive's official repo because the submodule checks out the entire repo, which is slow for Hive.

The hms package has been renamed to hive_metastore as well. I think this is preferable anyway since it's more explicit.

Rather than static/hms.thrift, use a git submodule to reference Trino's
[Hive Metastore Thrift repo](https://github.com/trinodb/hive-thrift). I chose
this one over
[Hive's official repo](https://github.com/apache/hive/blob/master/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift)
because the submodule checks out the entire repo, which is slow for Hive.

The `hms` package has been renamed to `hive_metastore` as well. I think this is
preferable anyway since it's more explicit.
@criccomini criccomini merged commit 0a27765 into main Jun 22, 2023
@criccomini criccomini deleted the add-thrift-submod branch June 22, 2023 19:18
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.

1 participant