dbt-labs / dbt-labs/metricflow
Allow CLI to specify optimization level
Open
enhancement
good first issue
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 202
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 14
Description
**Describe the Feature**
MetricFlow runs certain optimization passes against the Dataflow and SQL Query plans prior to rendering SQL to do things like remove redundant joins and collapse subqueries. Currently all of these are always on, but it would be nice to have a flag for the CLI that can disable some or all of the optimizers. This would aid in development and testing for new optimizations, end-user debugging for queries returning unexpected results, and query performance testing against specific engines.
Contributor guide
Assessment
This issue has not been assessed yet.