dbt-labs / dbt-semantic-interfaces

The shared semantic layer definitions that dbt-core and MetricFlow use.
Apache License 2.0
66 stars 13 forks source link

Set `default_granularity` in `SetDefaultGranularityRule` #301

Closed courtneyholcomb closed 2 months ago

courtneyholcomb commented 2 months ago

Description

Actually set the default_granularity during transformation using SetDefaultGranularityRule. This was an oversight from a previous PR. I added a test this time to ensure it works.

Checklist