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.
Usage
=====
```bash
>> tox -r -e py27
>> # install
>> .tox/py27/bin/python setup.py 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*
```
============================
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.
Usage
=====
```bash
>> tox -r -e py27
>> # install
>> .tox/py27/bin/python setup.py 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file thrift_hive_metastore-1.0.2.tar.gz.
File metadata
- Download URL: thrift_hive_metastore-1.0.2.tar.gz
- Upload date:
- Size: 75.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82b83063dbf0a730ffacbf23fd9d32799cae9143a7ee591114fd4b1ca6e5f53e
|
|
| MD5 |
f2f385bd959e325348bb0517960623d1
|
|
| BLAKE2b-256 |
40fe92cedf5a7ce3bd016e30beacec67340ba23cbcb0ca43a4797fdaeb950e2e
|