Closed courtneyholcomb closed 3 months ago
You can define a derived metric without the expr property, but if you try to query it you will get an error.
expr
We should have a validation to ensure that the expr property is set for derived metrics.
Define a derived metric without the expr property. Query it.
No response
- OS: - Python: - dbt: - dbt-semantic-interfaces:
Is this a new bug in dbt-semantic-interfaces?
Current Behavior
You can define a derived metric without the
expr
property, but if you try to query it you will get an error.Expected Behavior
We should have a validation to ensure that the
expr
property is set for derived metrics.Steps To Reproduce
Define a derived metric without the
expr
property. Query it.Relevant log output
No response
Environment
Additional Context
No response