criccomini / pymetastore

A Python Client for Hive Metastore
MIT License
9 stars 1 forks source link

Use Git submodule for Hive Thrift API #5

Closed criccomini closed 1 year ago

criccomini commented 1 year ago

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.