cube-js/cube

Running Cube with pre-aggregations disabled

Open

#2.311 geöffnet am 5. März 2021

Auf GitHub ansehen
 (1 Kommentar) (2 Reaktionen) (0 zugewiesene Personen)Rust (1.965 Forks)batch import
backend:serverhelp wanted

Repository-Metriken

Stars
 (19.563 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 5T 16h) (138 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide