Skip to main content

An Apache Airflow provider concerning BigQuery reservation.

Project description

Airflow BigQuery Pricing

Airflow BigQuery Reservation Provider


PyPI version codecov Github Action Test

Warning This package is a pre-released of the official apache-airflow-providers-google package. All of these operators will be integrated to the official package, soon.

This repository provides an Apache Airflow provider based on BigQuery Reservation API.

Airflow Operators

  • BigQueryReservationCreateOperator: Buy BigQuery slots (commitments) and assign them to a GCP project (reserve and assign).
  • BigQueryReservationDeleteOperator: Delete BigQuery commitments and remove associated ressources (rservation and assignment).
  • BigQueryBiEngineReservationCreateOperator: Create or Update a BI engine reservation.
  • BigQueryBiEngineReservationDeleteOperator: Delete or Update a BI engine reservation.

You could find DAG samples here.

Requirements

  • A Google Cloud connection has to be defined. By default, all hooks and operators use google_cloud_default.
  • This connection requires the following roles on the Google Cloud project(s) used in these operators:

Defining a new dedicated connection and custom GCP role could be good practices to respect the principle of least privilege.

How to install

pip install --user airflow-provider-bigquery-reservation

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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