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 |
Release files for apache-airflow-providers-cube 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| apache_airflow_providers_cube-1.0.0.tar.gz | 11.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| apache_airflow_providers_cube-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.2 kB
Release files / apache_airflow_providers_cube-1.0.0.tar.gz
| Download URL | apache_airflow_providers_cube-1.0.0.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b3874baf6ed22885ef00faa3166850e2d6cb7255eadd800f6ce2be563e2ee6e
|
|
BLAKE2b-256 checksum How to use checksums |
44340df9baaf5cd7dadccdecc92579eda1842f89bce97b2b21f9f02fe2843ad5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|
Release files / apache_airflow_providers_cube-1.0.0-py3-none-any.whl
| Download URL | apache_airflow_providers_cube-1.0.0-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75b767cfce1a1947b44f569f2302d6b635f0823f3bda098587d9d06c66026e4d
|
|
BLAKE2b-256 checksum How to use checksums |
ed315f7543ed3e894f361e2c56fb23d6fbb3968d11dc66872b6d7c35709b3a92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|