A Cube Apache Airflow provider package built by Cube.
Project description
Airflow Cube Provider
Cube is the semantic layer for building data applications. It helps data engineers and application developers access data from modern data stores, organize it into consistent definitions, and deliver it to every application.
Connection requirements
CubeHook uses Generic connection. So, in order to create a
connection to a Cube you will need to create an Airflow Generic
connection and specify the following required properties:
host- your Cube's host (must contain schema, address and port);password- your Cube'sCUBEJS_API_SECRET;extra.security_context- your usersecurityContext(in a Cube's terms).
Rest of the connection fields will be ignored.
Note: the
CubeBuildOperatoruses Cube's/cubejs-api/v1/pre-aggregations/jobsendpoint that is forbiden by the default. Make sure that specifiedsecurityContextand Cube'scontextToPermissionsfunction are configured in a way that allow you to run this query. See Cube's documentation for a more context.
Package description
This package provides the common CubeHook class, the abstract
CubeBaseOperator, the CubeQueryOperator to run analytical queries
over a Cube and the CubeBuildOperator to run pre-aggregations build
process.
Dependencies
Python >= 3.10
| Package | Version |
|---|---|
| apache-airflow | >= 2.11.0 |
| apache-airflow-providers-common-compat | >= 1.7.4 |
| PyJWT | >= 2.6.0 |
| requests | >= 2.28.2 |
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file apache_airflow_providers_cube-1.0.0.tar.gz.
File metadata
- Download URL: apache_airflow_providers_cube-1.0.0.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b3874baf6ed22885ef00faa3166850e2d6cb7255eadd800f6ce2be563e2ee6e
|
|
| MD5 |
7c55474b4b0473bcbc17169a726ce372
|
|
| BLAKE2b-256 |
44340df9baaf5cd7dadccdecc92579eda1842f89bce97b2b21f9f02fe2843ad5
|
File details
Details for the file apache_airflow_providers_cube-1.0.0-py3-none-any.whl.
File metadata
- Download URL: apache_airflow_providers_cube-1.0.0-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75b767cfce1a1947b44f569f2302d6b635f0823f3bda098587d9d06c66026e4d
|
|
| MD5 |
4bd035d5e9d0a42ab5eb9c05bcdad566
|
|
| BLAKE2b-256 |
ed315f7543ed3e894f361e2c56fb23d6fbb3968d11dc66872b6d7c35709b3a92
|