A client for connecting and running DDLs on Hive Metastore with Thrift protocol
A client for connecting and running DDLs on Hive Metastore using Thrift protocol.
Source | Downloads | Page | Installation Command |
---|---|---|---|
PyPi | Link | pip install hive-metastore-client |
Develop | Stable | Documentation | Sonar |
---|---|---|---|
This library supports Python version 3.7+.
To check library main features you can check Hive Metastore Client's Documentation, which is hosted by Read the Docs.
An example of how to use the library for running DDL commands in hive metastore:
from hive_metastore_client.builders import DatabaseBuilder
from hive_metastore_client import HiveMetastoreClient
database = DatabaseBuilder(name='new_db').build()
with HiveMetastoreClient(HIVE_HOST, HIVE_PORT) as hive_metastore_client:
hive_metastore_client.create_database(database)
To learn more use cases in practice, see Hive Metastore Client examples
Hive Metastore Client depends on Python 3.7+
Python Package Index hosts reference to a pip-installable module of this library, using it is as straightforward as including it on your project's requirements.
pip install hive-metastore-client
All contributions are welcome! Feel free to open Pull Requests. Check the development and contributing guidelines described in CONTRIBUTING.md
Made with :heart: by the Data Engineering team from QuintoAndar