cube-js / cube

📊 Cube — Universal semantic layer platform for AI, BI, spreadsheets, and embedded analytics
https://cube.dev
Other
17.97k stars 1.78k forks source link

Running Cube with pre-aggregations disabled #2311

Open igorlukanin opened 3 years ago

igorlukanin commented 3 years ago

Is your feature request related to a problem? Please describe. I have a complex Cube project with an external pre-aggregation database and pre-aggregations set up. However, I also wanted to run it locally without pre-aggregations, just to test a few schema changes. In order to do so, I needed to remove the pre-aggregations from my schema files.

Describe the solution you'd like I'd like to be able to run Cube.js with a configuration option that makes Cube.js ignore pre-aggregations and always hit the raw data, e.g.,CUBEJS_PRE_AGGREGATIONS=false.

Describe alternatives you've considered Using dynamic schema generation to wrap my cubes and remove preAggregations from them based on a custom configuration flag.

github-actions[bot] commented 3 years ago

If you are interested in working on this issue, please leave a comment below and we will be happy to assign the issue to you. If this is the first time you are contributing a Pull Request to Cube.js, please check our contribution guidelines. You can also post any questions while contributing in the #contributors channel in the Cube.js Slack.