cube-js / cube-js/airflow-provider-cube

Allow passing custom endpoint to CubeBuildOperator

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

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.

https://github.com/cube-js/airflow-provider-cube/blob/99a8d8805f7b132321a3803c7b1845c3d1992ee2/cube_provider/operators/cube.py#L153

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in cube_provider/operators/cube.py at the constructor and the hardcoded endpoint around line 153. Trace how the CubeBuildOperator builds its request, then confirm that callers can provide a custom endpoint and that the supplied value replaces the default prefix for the pre-aggregations jobs path.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.