Skip to main content

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's CUBEJS_API_SECRET;
  • extra.security_context - your user securityContext (in a Cube's terms).

Rest of the connection fields will be ignored.

Note: the CubeBuildOperator uses Cube's /cubejs-api/v1/pre-aggregations/jobs endpoint that is forbiden by the default. Make sure that specified securityContext and Cube's contextToPermissions function 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)

Source distribution for apache-airflow-providers-cube 1.0.0
File Size Uploaded
apache_airflow_providers_cube-1.0.0.tar.gz 11.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for apache-airflow-providers-cube 1.0.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page