PyHive
PyHive copied to clipboard
Python interface to Hive and Presto. 🐝
numpy int64 and float64 inconsistently derive from base `int` and `float` depending on python version. Checking against `numbers.Real` ensures correct behavior. on python 3.6 ``` >>> import numpy as np...
The methods allow us to use connections and cursors with `with`s statements.
The reason behind this is that non-integer sizes or None (or 0) do not make sense. Especially with None, which might be a common pattern, this should be prevented as...
This PR add the `generate.py` function. When invoked, it will fetch the specified Thrift specification for HiveServer2, and generate the relevant Python files. If nothing is specified, it will fetch...
This allows the use of `with` statements with the connection object. It follows what is done in https://github.com/prestodb/presto-python-client/blob/master/prestodb/dbapi.py#L121 and partially in #210 .
This is a follow-up of #82 which proposed a backward-incompatible change for the strucutre of data returned by the Presto cursor and simplifies doing additional data transformation without having to...
when kerberos kdc's host server is different from Hiveserver2 's host server, setting Hiveserver2's host as kerberos kdc's host will cause kerberos authenticated failed! Solved this by adding an aditional...
Partially closes https://github.com/dropbox/PyHive/issues/69, at least for `NONE` auth.