cube-js / airflow-provider-cube Goto Github PK
View Code? Open in Web Editor NEWThis is a provider package for Airflow Cube Provider.
License: Apache License 2.0
This is a provider package for Airflow Cube Provider.
License: Apache License 2.0
I believe continue wait errors returned by the jobs endpoint result in the BuildOperator return an error.
Continue wait is handled here for QueryOperator:
https://github.com/cube-js/airflow-provider-cube/blob/main/cube_provider/operators/cube.py#L117
But not here for build operator:
https://github.com/cube-js/airflow-provider-cube/blob/main/cube_provider/operators/cube.py#L193-L195
I believe the Jobs api can return other failures not captured by this code block resulting in it running until Airflow timeout
https://github.com/cube-js/airflow-provider-cube/blob/main/cube_provider/operators/cube.py#L198-L204
For example - other statuses seem to be "orphaned" and potentially others.
The CubeBuildOperator
constructor uses a hardcoded endpoint. The endpoint for my use would replace the prefix to /cubejs-api/v1/pre-aggregations/jobs
but I'm not able to override by setting arguments when creating an operator.
See code here:
https://github.com/cube-js/airflow-provider-cube/blob/main/cube_provider/hooks/cube.py#L92
I think it is possible to override the headers by passing in an AUTHORIZATION token - and this might make more sense - but figured I'd flag that this should probably be an argument or derive itself from the Cube configuration?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.