Skip to main content

HiveQL Kernel

Project description

# HiveQL Kernel

If you are going to connect using kerberos:

` sudo apt-get install python3-dev libsasl2-dev libsasl2-2 libsasl2-modules-gssapi-mit `

To install the kernel:

` pip install --upgrade hiveqlKernel jupyter hiveql install --user `

Run tests:

` python -m pytest `

How to use in Notebooks:

First create your connection, inside a Notebook cell configure the connection:

` $$ url=hive://<kerberos-username>@<hive-host>:<hive-port>/<db-name> $$ connect_args={"auth": "KERBEROS","kerberos_service_name": "hive"} $$ pool_size=5 $$ max_overflow=10 `

These args are passed to sqlalchemy, who registered pyHive as the ‘hive’ SQL back-end. See [](

You can also change the default display limit (=20) like this :

` $$ default_limit=50 `

You can now type HiveQL inside the next Notebook cells:


Have fun!

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 hiveqlKernel, version 1.0.11
Filename, size File type Python version Upload date Hashes
Filename, size hiveqlKernel-1.0.11-py3-none-any.whl (26.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size hiveqlKernel-1.0.11.tar.gz (22.9 kB) File type Source Python version None Upload date Hashes View

Supported by

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