Skip to main content

A SQLAlchemy dialect for Dremio via Flight interface.

Project description

SQLAlchemy Dremio

This is fix dremio arrow flight connection upgrade.

Forked from https://github.com/narendrans/sqlalchemy_dremio

PyPI Build

A SQLAlchemy dialect for Dremio via Flight interfaces.

Installation

pip3 install sqlalchemy_dremio

Usage

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:

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

And then run:

export DREMIO_CONNECTION_URL="dremio+flight://dremio:dremio123@localhost:32010/dremio"
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.

Development

pip install -r requirements_dev.txt

build

sudo python3 setup.py install

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_flight-1.2.2.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sqlalchemy_dremio_flight-1.2.2-py3.8.egg (25.6 kB view details)

Uploaded Egg

File details

Details for the file sqlalchemy_dremio_flight-1.2.2.tar.gz.

File metadata

  • Download URL: sqlalchemy_dremio_flight-1.2.2.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for sqlalchemy_dremio_flight-1.2.2.tar.gz
Algorithm Hash digest
SHA256 7783b57224a54d295d730f8f0d002367c289de5010c9b0744f8f3a98f077bd2d
MD5 128cd3a6e2ffd0aacaa494332d11efdb
BLAKE2b-256 31c86ce4b655ae914c581b69c8dc3799fb362af887dea9b87be59dd5d5615a7b

See more details on using hashes here.

File details

Details for the file sqlalchemy_dremio_flight-1.2.2-py3.8.egg.

File metadata

  • Download URL: sqlalchemy_dremio_flight-1.2.2-py3.8.egg
  • Upload date:
  • Size: 25.6 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for sqlalchemy_dremio_flight-1.2.2-py3.8.egg
Algorithm Hash digest
SHA256 764d1c408f701c117257c579092b6d924130b6e734ef52b605f644707d9d7581
MD5 1b88ebd6511ad32bf7aa20f70edb635b
BLAKE2b-256 c2a3356b6efd77db8d3c4e90bb766de0b806f65307ee612c153e80aca8a61ba7

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