PyHive:Hive和Presto的Python接口。 :honeybee:

时间:2021-05-12 05:48:33
【文件属性】:
文件名称:PyHive:Hive和Presto的Python接口。 :honeybee:
文件大小:82KB
文件格式:ZIP
更新时间:2021-05-12 05:48:33
python sqlalchemy presto hive dbapi PyHive PyHive是和的Python 和接口的集合。 用法 数据库API from pyhive import presto # or import hive or import trino cursor = presto . connect ( 'localhost' ). cursor () cursor . execute ( 'SELECT * FROM my_awesome_data LIMIT 10' ) print cursor . fetchone () print cursor . fetchall () DB-API(异步) from pyhive import hive from TCLIService . ttypes import TOperationState cursor = hive . connect ( 'localhost' ). cu
【文件预览】:
PyHive-master
----MANIFEST.in(16B)
----.travis.yml(854B)
----README.rst(6KB)
----.coveragerc(20B)
----pyhive()
--------trino.py(5KB)
--------common.py(9KB)
--------presto.py(15KB)
--------sqlalchemy_trino.py(2KB)
--------tests()
--------__init__.py(101B)
--------sqlalchemy_hive.py(13KB)
--------sqlalchemy_presto.py(7KB)
--------exc.py(2KB)
--------hive.py(22KB)
----LICENSE(558B)
----generate.py(1KB)
----setup.cfg(974B)
----setup.py(2KB)
----.gitignore(155B)
----dev_requirements.txt(451B)
----scripts()
--------thrift-patches()
--------make_one_row_complex.sh(1KB)
--------make_one_row.sh(170B)
--------ldap_config()
--------make_test_tables.sh(339B)
--------travis-install.sh(3KB)
--------travis-conf()
--------make_many_rows.sh(360B)
--------update_thrift_bindings.sh(644B)
--------make_test_database.sh(176B)
----TCLIService()
--------constants.py(1KB)
--------TCLIService-remote(8KB)
--------ttypes.py(257KB)
--------TCLIService.py(128KB)
--------__init__.py(49B)

网友评论