A provider package for managing reflections and executing queries via Dremio.
Project description
Airflow Dremio Provider
This is the official provider package for airflow that integrates with Dremio. It contains the following operators and sensors
DremioCreateReflectionOperator
- Operator to manage reflections in DremioDremioCreateSourceOperator
- Operator to create a source in AirflowDremioJobSensor
- Sensor to check the status of a job submitted in dremio
Installation
You can use pip
to install this package
pip install airflow-dremio-provider
If you want to build from source, you can do so using hatch. First create the .whl file usin the command hatch build
. This will create a wheel file in the dist
directory. To install the package run pip install *path-to-.whl-file*
Creating a Dremio Connection
A dremio connection is the same as an Http connection. Therefor you can just create a connection with type being HTTP
. Once you have created a connection enter all the fields as required. The login field must contain your username For providing the authentication there are two supported ways
Authentication using basic auth
This simply requires authentication to be done using the username and password. The Dremio hook automatically uses this to create an auth token from Dremio and uses this token for all REST API authentication. To use this method of authentication, the extra
field of the connection add the following - {"auth":"AuthToken"}
.
Authentication using PAT token
This method of authentication is to be done using the user generated PAT token in Dremio. The Dremio hook uses this token for all REST API authentication. To use this method of authentication, the extra
field of the connection add the following - {"auth":"PAT", "pat":"your-pat-token-value"}
.
Contributing
We welcome your contributions! Please read CONTRIBUTING.md for details on how to contribute to this provider package
License
This project is licensed under the Apache 2.0 License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file airflow_dremio_provider-0.1.1.tar.gz
.
File metadata
- Download URL: airflow_dremio_provider-0.1.1.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9945aa0a4c6cc8dc8d7b1beb093d05c8dc6ee68ede3cb660eb5c229a50050c83 |
|
MD5 | fcabca4cf54538dad0937f5199fac061 |
|
BLAKE2b-256 | b8e1a037c4b63ca9dbc65753de19c61aba31238cb90d5d46bcaa220fc5c17257 |
File details
Details for the file airflow_dremio_provider-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: airflow_dremio_provider-0.1.1-py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0a27240920465c10c6f04c69f905344eff3fe29a7a6f34f38e2b75991faf4e7 |
|
MD5 | 968cbff17765aac81b0c0e7755b0c061 |
|
BLAKE2b-256 | 36f0f244bb1dd3e6d69a2991c845e685d6ec8bae1fd4e8449285e452b71e3899 |