MetricFlow 0.204.0
To take full advantage of this release, please upgrade to dbt-core 1.7.4 or later. Earlier versions of dbt-core 1.7.x will continue to work with any config that does not include Conversion Metrics.
Notable improvements include:
- Support for Conversion Metrics
- Support for Trino (huge thanks to @sarbmeetka for the contribution!)
- A variety of important fixes and adjustments, particularly around time offset metrics
MetricFlow 0.204.0 - January 11, 2024
Features
- Add Trino support to the MetricFlow. (#207)
- Implemented date_part in where filter. (#None)
- Resolve Ambiguous Group-By-Items (#887)
- Support for Conversion Metrics (#252)
- Add a Query Validation Rule for Repeated Metrics in a Query (#943)
- Expose label on Metric & Dimension for use in APIs. (#956)
Fixes
- Apply time offset for nested dervied & ratio metrics (#882)
- Fix Incorrect SQL Column Name Rendering for WhereConstraintNode (#908)
Unable To Satisfy Query Error
with Cumulative Metrics in Saved Queries (#917)- Fixes a bug in dimension-only queries where the filter column is removed before the filter has been applied. (#923)
- Bug fix: Keep where constraint column until used for nested derived offset metric queries. (#930)
- Fixes incorrect time constraint applied to derived offset metrics. (#925)
- Remove default time constraint for queries with cumulative metrics. (#917)
- Return exit code 1 for failed validations (#867)
- Optimizer Does Not Deduplicate Common Metrics (#941)
- Duplicate input measures after combiner optimizer (#969)
Under the Hood
- Test to ensure Dimension and TimeDimension syntax are identical in the case of time dimensions
- Fixed typo in error message
Dependencies
- Remove unnecessary MarkupSafe dependency (#950)
Contributors
- @DevonFulcher
- @WilliamDee (#252, #867, #969)
- @courtneyholcomb (#956, #882, #923, #930, #925)
- @plypaul (#887, #943, #908, #917, #917, #941)
- @sarbmeetka (https://github.com/sarbmeetka) (#207)
- @tlento (#950)