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
typing 2.6.0
jwt 2.6.0
json 2.0.9
requests 2.28.2
airflow 2.5.1

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

airflow-provider-cube-0.0.1.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

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

airflow_provider_cube-0.0.1-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file airflow-provider-cube-0.0.1.tar.gz.

File metadata

  • Download URL: airflow-provider-cube-0.0.1.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for airflow-provider-cube-0.0.1.tar.gz
Algorithm Hash digest
SHA256 dca115e6d30b080b2196191ca58f9f780812948bfe6b6d21169570f0980c81b5
MD5 4ff87515d286dc1251d93cda53eb2499
BLAKE2b-256 893ba3092dbe1d538d570a996e7a1fc599d33bd543079277f8ab4cd5374a2779

See more details on using hashes here.

File details

Details for the file airflow_provider_cube-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for airflow_provider_cube-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 75cb6556d625bf308b3ca4a38bd681d149af5e6f32a69b6f92b79573c2686252
MD5 3f6dc35341cacfd2f58776b1e625a649
BLAKE2b-256 0113911c887120653523c769d1014c0f4413cc4c3d4ef24b9f3a4b2cd1a04dce

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