Airflow BigQuery Reservation Provider
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:
- BigQuery Resource Admin
- BigQuery Job User - Required for
BigQueryReservationCreateOperatorbecause of the reservation attachment check.
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
Metadata
Release files for airflow-provider-bigquery-reservation 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| airflow_provider_bigquery_reservation-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for airflow_provider_bigquery_reservation-1.1.1-py3-none-any.whl |
Release files / airflow_provider_bigquery_reservation-1.1.1-py3-none-any.whl
| Download URL | airflow_provider_bigquery_reservation-1.1.1-py3-none-any.whl |
|---|---|
| Size | 16.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b5cacba58eeb927947d9bcb66900002d2358f95965a26116a50164e0be5e053
|
|
BLAKE2b-256 checksum How to use checksums |
6ce41e0fb487177f6e84b2299a5de1bf00d2b266325de8b82cf3f71140dac9db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Security for airflow-provider-bigquery-reservation 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.