Skip to content

Commit 78a0224

Browse files
authored
Release 0.207.1 (#1615)
Resolves #1589 Resolves #1632 * The previous release `0.207.0` was not compatible with `dbt-core=1.9` as the requirement for `dbt-semantic-interfaces` in both packages was different. * To address this, I've cut a branch `release-0.207.1` from commit `5bb13511d36c6122527a1bd12de9d6e0707a9ddc`, which seems to be the last version before the dependency requirement for `dbt-semantic-interfaces` changed in `metricflow`. * The requirement for `dbt-semantic-interfaces` was previously pinned to `0.7.2` - I'm looking for context on the strict pin. * For now, I've updated the requirement to `dbt-semantic-interfaces>=0.7.4,<0.8`. `0.7.4` was the lowest version compatible with `dbt-core=1.9`.
1 parent 45283b6 commit 78a0224

File tree

53 files changed

+23757
-5627
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+23757
-5627
lines changed

.changes/0.207.1.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
## MetricFlow 0.207.1 - January 24, 2025
2+
3+
### Breaking Changes
4+
5+
- Changes MetricFlowQueryRequest.where_constraint to where_constraints and now accepts a list ([#1431](https://github.com/dbt-labs/metricflow/issues/1431))
6+
- Require Python `>=3.9` ([#1470](https://github.com/dbt-labs/metricflow/issues/1470))
7+
8+
### Features
9+
10+
- Enable predicate pushdown for categorical dimensions ([#1011](https://github.com/dbt-labs/metricflow/issues/1011))
11+
- Support sub-daily granularity options in SQL rendering for all supported SQL engines. ([#1258](https://github.com/dbt-labs/metricflow/issues/1258))
12+
- Adds a new dataflow plan node to re-aggregate metrics using window functions. Needed to calculate cumulative metrics at non-default granularities. ([#1274](https://github.com/dbt-labs/metricflow/issues/1274))
13+
- Build dataflow plan for cumulative metrics queried with non-default granularity. ([#1281](https://github.com/dbt-labs/metricflow/issues/1281))
14+
- Remove restriction on querying non-default granularities with cumulative metrics. ([#1282](https://github.com/dbt-labs/metricflow/issues/1282))
15+
- Enable predicate pushdown optimization by default for all callers ([#1011](https://github.com/dbt-labs/metricflow/issues/1011))
16+
- Use Metric.time_granularity to resolve metric_time. ([#1310](https://github.com/dbt-labs/metricflow/issues/1310))
17+
- Support multiple time spines with different granularities. ([#1348](https://github.com/dbt-labs/metricflow/issues/1348))
18+
- Enable sub-daily queries without metrics. ([#1359](https://github.com/dbt-labs/metricflow/issues/1359))
19+
- Enable sub-daily time constraints. ([#1367](https://github.com/dbt-labs/metricflow/issues/1367))
20+
- Support combining AggregateMeasuresNodes where metric input measures have aliases, so long as there are no duplicates. ([#1375](https://github.com/dbt-labs/metricflow/issues/1375))
21+
- Handle custom granularities in DataflowPlan. ([#1382](https://github.com/dbt-labs/metricflow/issues/1382))
22+
- Support custom granularities in query parsing. ([#1413](https://github.com/dbt-labs/metricflow/issues/1413))
23+
- Support conversion metrics queried with custom granularities. ([#1475](https://github.com/dbt-labs/metricflow/issues/1475))
24+
- Basic support for join_to_timespine metrics with custom grain in the group by. ([#1505](https://github.com/dbt-labs/metricflow/issues/1505))
25+
- Use CTEs instead of sub-queries in generated SQL. ([#1040](https://github.com/dbt-labs/metricflow/issues/1040))
26+
27+
### Fixes
28+
29+
- When querying multiple agg time or metric time dimensions with a cumulative metric, select all of them from the time spine table. ([#1271](https://github.com/dbt-labs/metricflow/issues/1271))
30+
- Remove extraneous where filter subqueries added by predicate pushdown ([#1011](https://github.com/dbt-labs/metricflow/issues/1011))
31+
- Add Column header to the exported CSV from query command
32+
- Allow metrics with matching input measures where one is cumulative and one is not. ([#1374](https://github.com/dbt-labs/metricflow/issues/1374))
33+
- Fixes bug where conversion metric query fails when filter with base semantic model's dimension is provided ([#1210](https://github.com/dbt-labs/metricflow/issues/1210))
34+
- Bug fix: ensure that granularity requested for non-additive dimension is respected. ([#1383](https://github.com/dbt-labs/metricflow/issues/1383))
35+
- Bug fix: when querying a join_to_timespine metric with a metric_time filter that is not included in the group by, unexpected output rows were included. ([#1450](https://github.com/dbt-labs/metricflow/issues/1450))
36+
- Remove unnecessary group bys that make queries less efficient. ([#1453](https://github.com/dbt-labs/metricflow/issues/1453))
37+
- Add new validation that checks for SCDs in the join path to make grouping by `metric_time` required in this case. ([#1451](https://github.com/dbt-labs/metricflow/issues/1451))
38+
- Make ID generation thread-safe ([#1473](https://github.com/dbt-labs/metricflow/issues/1473))
39+
- Prevent SourceScanOptimizer from combining nodes that use the same input metric alias in different derived metrics ([#1494](https://github.com/dbt-labs/metricflow/issues/1494))
40+
- Fix `mf tutorial` experience. ([#1631](https://github.com/dbt-labs/metricflow/issues/1631))
41+
- Compatibility Issue with dbt-core 1.9.0 and dbt-metricflow 0.7.1. ([#1589](https://github.com/dbt-labs/metricflow/issues/1589))
42+
- dbt-core dependency issue with metricflow==0.207.0. ([#1632](https://github.com/dbt-labs/metricflow/issues/1632))
43+
44+
### Under the Hood
45+
46+
- Add test coverage for more filter + join interactions ([#1240](https://github.com/dbt-labs/metricflow/issues/1240))
47+
- Add dataflow plan optimizer to replace build-time predicate pushdown ([#1011](https://github.com/dbt-labs/metricflow/issues/1011))
48+
- Added filtering for DWH validation tasks and saved query support ([#1271](https://github.com/dbt-labs/metricflow/issues/1271))
49+
- Refine subquery ID generation. This may result in changing subquery ids for rendered SQL. ([#1280](https://github.com/dbt-labs/metricflow/issues/1280))
50+
- Move categorical dimension predicate pushdown to DataflowPlanOptimizer ([#1011](https://github.com/dbt-labs/metricflow/issues/1011))
51+
- Consume cumulative-specific metric type params from new cumulative_type_params field. ([#1293](https://github.com/dbt-labs/metricflow/issues/1293))
52+
53+
### Dependencies
54+
55+
- Allow pydantic 2.x installations ([#1299](https://github.com/dbt-labs/metricflow/issues/1299))
56+
57+
### Contributors
58+
- [@WilliamDee](https://github.com/WilliamDee) ([#1210](https://github.com/dbt-labs/metricflow/issues/1210), [#1271](https://github.com/dbt-labs/metricflow/issues/1271))
59+
- [@WilliamDee,courtneyholcomb](https://github.com/WilliamDee,courtneyholcomb) ([#1431](https://github.com/dbt-labs/metricflow/issues/1431))
60+
- [@courtneyholcomb](https://github.com/courtneyholcomb) ([#1258](https://github.com/dbt-labs/metricflow/issues/1258), [#1274](https://github.com/dbt-labs/metricflow/issues/1274), [#1281](https://github.com/dbt-labs/metricflow/issues/1281), [#1282](https://github.com/dbt-labs/metricflow/issues/1282), [#1310](https://github.com/dbt-labs/metricflow/issues/1310), [#1348](https://github.com/dbt-labs/metricflow/issues/1348), [#1359](https://github.com/dbt-labs/metricflow/issues/1359), [#1367](https://github.com/dbt-labs/metricflow/issues/1367), [#1375](https://github.com/dbt-labs/metricflow/issues/1375), [#1382](https://github.com/dbt-labs/metricflow/issues/1382), [#1413](https://github.com/dbt-labs/metricflow/issues/1413), [#1475](https://github.com/dbt-labs/metricflow/issues/1475), [#1505](https://github.com/dbt-labs/metricflow/issues/1505), [#1271](https://github.com/dbt-labs/metricflow/issues/1271), [#1374](https://github.com/dbt-labs/metricflow/issues/1374), [#1383](https://github.com/dbt-labs/metricflow/issues/1383), [#1450](https://github.com/dbt-labs/metricflow/issues/1450), [#1453](https://github.com/dbt-labs/metricflow/issues/1453), [#1293](https://github.com/dbt-labs/metricflow/issues/1293))
61+
- [@plypaul](https://github.com/plypaul) ([#1470](https://github.com/dbt-labs/metricflow/issues/1470), [#1040](https://github.com/dbt-labs/metricflow/issues/1040), [#1473](https://github.com/dbt-labs/metricflow/issues/1473), [#1631](https://github.com/dbt-labs/metricflow/issues/1631), [#1589](https://github.com/dbt-labs/metricflow/issues/1589), [#1632](https://github.com/dbt-labs/metricflow/issues/1632))
62+
- [@saurabh0402](https://github.com/saurabh0402)
63+
- [@serramatutu](https://github.com/serramatutu) ([#1451](https://github.com/dbt-labs/metricflow/issues/1451), [#1494](https://github.com/dbt-labs/metricflow/issues/1494))
64+
- [@tlento](https://github.com/tlento) ([#1011](https://github.com/dbt-labs/metricflow/issues/1011), [#1011](https://github.com/dbt-labs/metricflow/issues/1011), [#1011](https://github.com/dbt-labs/metricflow/issues/1011), [#1240](https://github.com/dbt-labs/metricflow/issues/1240), [#1011](https://github.com/dbt-labs/metricflow/issues/1011), [#1280](https://github.com/dbt-labs/metricflow/issues/1280), [#1011](https://github.com/dbt-labs/metricflow/issues/1011), [#1299](https://github.com/dbt-labs/metricflow/issues/1299))

.changes/unreleased/Breaking Changes-20241007-142032.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Breaking Changes-20241021-115548.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Dependencies-20240624-182325.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Features-20240521-202252.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Features-20240607-161232.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changes/unreleased/Features-20240613-160758.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changes/unreleased/Features-20240613-172315.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Features-20240614-071108.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Features-20240625-152952.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Features-20240628-074617.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Features-20240725-160038.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Features-20240727-081106.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Features-20240813-164801.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Features-20240821-112601.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changes/unreleased/Features-20240827-112415.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Features-20240920-120114.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Features-20241023-161720.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Features-20241104-193531.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Features-20241112-215817.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Fixes-20240612-161605.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changes/unreleased/Fixes-20240625-114914.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Fixes-20240716-090114.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Fixes-20240821-111857.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changes/unreleased/Fixes-20240823-123108.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Fixes-20240827-130128.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Fixes-20241009-171939.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changes/unreleased/Fixes-20241009-174346.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Fixes-20241011-161926.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Fixes-20241021-120748.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Fixes-20241030-201214.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Fixes-20250124-140300.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Under the Hood-20240603-170530.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Under the Hood-20240611-162735.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Under the Hood-20240612-233459.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Under the Hood-20240613-171930.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Under the Hood-20240617-110749.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Under the Hood-20240618-161241.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)