Skip to main content

A thrift client of hive metestore

Project description

Thrift Hive Metastore Client

A simple python thrift client of hive metastore, which is used to
fetch table and schema information.

The class files are generated from Hive source using thrift. This
project just makes a nice package of the generated code.


>> tox -r -e py27

>> # install
>> .tox/py27/bin/python sdist upload

>> # browse tables
>> # get all tables
>> .tox/py27/bin/thrift_hive_metastore localhost 9083

>> # get all tables and show their field definitions
>> .tox/py27/bin/thrift_hive_metastore localhost 9083 -s

>> # get tables from a namespace
>> .tox/py27/bin/thrift_hive_metastore localhost 9083 mynamesapce

>> # get tables from namesapces matching given pattern
>> .tox/py27/bin/thrift_hive_metastore localhost 9083 my*

>> # get tables whose names matche a given pattern, from namesapces matching given pattern
>> .tox/py27/bin/thrift_hive_metastore localhost 9083 my* *mytable*


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for thrift_hive_metastore, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size thrift_hive_metastore-1.0.2.tar.gz (75.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page