setting `CUBEJS_PRE_AGGREGATIONS_BUILDER` to true in production does not build pre aggregations
Open
question
- Dominant language
- Rust
- Stars
- 20.8k
- Forks
- 2.1k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 181
Description
**Problem**
Setting `CUBEJS_PRE_AGGREGATIONS_BUILDER` to `true` does not build pre aggregations unless dev mode is enabled.
**Related Cube.js schema**
```javascript
cube(`Cube`, {
sql: `` //, ...
pre_aggregations: {
// ...
external: false
}
}
})
```
Does not build pre-aggregations :arrow_down:
```yaml
CUBEJS_DEV_MODE: false
CUBEJS_PRE_AGGREGATIONS_BUILDER: true
CUBEJS_PRE_AGGREGATIONS_SCHEMA: public
```
Docs do not mention that this setting does not work in production mode.
https://cube.dev/docs/reference/environment-variables#cubejs-pre-aggregations-builder
Contributor guide
Assessment
This issue has not been assessed yet.