You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Convert median to percentile in metrics (like in measures) (#433)
Towards #387
### Description
Depends on #432
We already convert measures with agg value MEDIAN to be percentile measures. Since we're replacing measures with simple metrics, this PR does the same for simple metrics.
Notes:
* Learning from several previous PRs, including especially #431 , we use some inheritance to keep all the good, non-legacy code in the transformation class for metrics while still allowing a lot of reuse for the measures-related class.
* I also did a little renaming and re-documenting to the test cases I added to show make it clear what was legacy and for measures and what was not.
### Checklist
- [x] I have read [the contributing guide](https://github.com/dbt-labs/dbt-semantic-interfaces/blob/main/CONTRIBUTING.md) and understand what's expected of me
- [x] I have signed the [CLA](https://docs.getdbt.com/docs/contributor-license-agreements)
- [x] This PR includes tests, or tests are not required/relevant for this PR
- [x] I have run `changie new` to [create a changelog entry](https://github.com/dbt-labs/dbt-semantic-interfaces/blob/main/CONTRIBUTING.md#adding-a-changelog-entry)
0 commit comments