Getting Started¶
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
Or after listing hive-metastore-client
in your requirements.txt
file:
pip install -r requirements.txt
Discovering Hive Metastore Client¶
Click on the following links to open the examples:
#5 Add partitions to a table if not exists
#7 Get partition keys objects from a table
#8 Get partition keys (names & types) from a table
#9 Get partition keys (names only) from a table
Available methods¶
You can see all the Hive Metastore server available methods by looking at the
interface:
thrift_files.libraries.thrift_hive_metastore_client.ThriftHiveMetastore.Iface
.
Beyond the default methods, this library also implements the methods below in
the HiveMetastoreClient
class: