dbt-labs / metricflow

MetricFlow allows you to define, build, and maintain metrics in code.
https://docs.getdbt.com/docs/build/about-metricflow
Other
1.12k stars 92 forks source link

Rename `Metric.default_granularity` to `Metric.time_granularity` #1326

Closed courtneyholcomb closed 1 month ago

courtneyholcomb commented 1 month ago

We decided to rename this field after much discussion with product & dev ex. This name aligns better with the standards set for YAML fields across all dbt objects. This has already been updated in DSI, so this PR pulls in that change and updates any other relevant code.