DrillHook

Apache Drill

Interact with Apache Drill via sqlalchemy-drill.

View on GitHub

Last Updated: Jul. 12, 2021

Access Instructions

Install the Apache Drill provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Documentation

Interact with Apache Drill via sqlalchemy-drill.

You can specify the SQLAlchemy dialect and driver that sqlalchemy-drill will employ to communicate with Drill in the extras field of your connection, e.g. {"dialect_driver": "drill+sadrill"} for communication over Drill’s REST API. See the sqlalchemy-drill documentation for descriptions of the supported dialects and drivers.

You can specify the default storage_plugin for the sqlalchemy-drill connection using the extras field e.g. {"storage_plugin": "dfs"}.

Was this page helpful?