Skip to main content

A SQLAlchemy dialect for Dremio via the ODBC and Flight interface.

Project description

SQLAlchemy Dremio

PyPI Build

A SQLAlchemy dialect for Dremio via ODBC and Flight interfaces.

Installation

pip install sqlalchemy_dremio

Pre-Requisites

Mac OS X:

CentOS/RHEL:

Debian:

Usage

ODBC

Connection String example: dremio://user:password@host:port/dremio;SSL=0

You can specify other ODBC parameters seperated by semi colon.

Arrow Flight

- This is experiemental. Not recommended for production usage.

Connection String example: dremio+flight://user:password@host:port/dremio

Refer https://github.com/dremio-hub/dremio-flight-connector for configuring flight endpoint in Dremio.

Testing

Set the environment variable DREMIO_CONNECTION_STRING:

Windows: setx DREMIO_CONNECTION_URL "dremio://dremio:dremio123@localhost:31010/dremio"

Linux: export DREMIO_CONNECTION_URL="dremio://dremio:dremio123@localhost:31010/dremio"

And then run:

py.test test

Superset Integration

This SQLAlchemy can be used for connecting Dremio with Superset. Please check superset website for more instructions on the setup.

Project details


Download files

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

Source Distribution

sqlalchemy_dremio-1.1.4.tar.gz (15.3 kB view details)

Uploaded Source

File details

Details for the file sqlalchemy_dremio-1.1.4.tar.gz.

File metadata

  • Download URL: sqlalchemy_dremio-1.1.4.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.5

File hashes

Hashes for sqlalchemy_dremio-1.1.4.tar.gz
Algorithm Hash digest
SHA256 6a548eda1b5ef2facc64bbc8d046689c5af1fe74b16e623c18f58e472410f8dc
MD5 d6075b25532339a30799702266d3747b
BLAKE2b-256 f0066cfc4bf26e2320392c72cf4d84f4bf73eb3eaff4f8d85441ec7e535c1113

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page