Skip to main content

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 Dremio
  • DremioCreateSourceOperator - Operator to create a source in Airflow
  • DremioJobSensor - 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


Download files

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

Source Distribution

airflow_dremio_provider-0.1.1.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distribution

airflow_dremio_provider-0.1.1-py3-none-any.whl (17.2 kB view hashes)

Uploaded Python 3

Supported by

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