Skip to main content

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'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

Project details


Download files

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

Source Distribution

apache_airflow_providers_cube-1.0.0.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apache_airflow_providers_cube-1.0.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file apache_airflow_providers_cube-1.0.0.tar.gz.

File metadata

File hashes

Hashes for apache_airflow_providers_cube-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0b3874baf6ed22885ef00faa3166850e2d6cb7255eadd800f6ce2be563e2ee6e
MD5 7c55474b4b0473bcbc17169a726ce372
BLAKE2b-256 44340df9baaf5cd7dadccdecc92579eda1842f89bce97b2b21f9f02fe2843ad5

See more details on using hashes here.

File details

Details for the file apache_airflow_providers_cube-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for apache_airflow_providers_cube-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75b767cfce1a1947b44f569f2302d6b635f0823f3bda098587d9d06c66026e4d
MD5 4bd035d5e9d0a42ab5eb9c05bcdad566
BLAKE2b-256 ed315f7543ed3e894f361e2c56fb23d6fbb3968d11dc66872b6d7c35709b3a92

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page