From 04a04e79be839577134b72f718064ef2c5c538d0 Mon Sep 17 00:00:00 2001 From: tlento Date: Thu, 11 Jan 2024 15:57:47 -0800 Subject: [PATCH] Updating changelog --- .changes/0.204.0.md | 40 ++++++++++++++++++ .../Dependencies-20231219-170616.yaml | 6 --- .../unreleased/Features-20231008-195608.yaml | 6 --- .../unreleased/Features-20231107-180843.yaml | 6 --- .../unreleased/Features-20231130-113258.yaml | 6 --- .../unreleased/Features-20231210-165636.yaml | 6 --- .../unreleased/Features-20231218-121506.yaml | 6 --- .../unreleased/Features-20240102-163031.yaml | 6 --- .../unreleased/Fixes-20231116-153955.yaml | 6 --- .../unreleased/Fixes-20231128-142315.yaml | 6 --- .../unreleased/Fixes-20231204-183426.yaml | 6 --- .../unreleased/Fixes-20231205-110320.yaml | 7 ---- .../unreleased/Fixes-20231206-155814.yaml | 7 ---- .../unreleased/Fixes-20231207-145013.yaml | 6 --- .../unreleased/Fixes-20231207-170704.yaml | 6 --- .../unreleased/Fixes-20231215-141744.yaml | 6 --- .../unreleased/Fixes-20231215-154356.yaml | 6 --- .../unreleased/Fixes-20240110-140727.yaml | 6 --- .../Under the Hood-20231127-133132.yaml | 7 ---- .../Under the Hood-20231214-113549.yaml | 6 --- CHANGELOG.md | 41 +++++++++++++++++++ 21 files changed, 81 insertions(+), 117 deletions(-) create mode 100644 .changes/0.204.0.md delete mode 100644 .changes/unreleased/Dependencies-20231219-170616.yaml delete mode 100644 .changes/unreleased/Features-20231008-195608.yaml delete mode 100644 .changes/unreleased/Features-20231107-180843.yaml delete mode 100644 .changes/unreleased/Features-20231130-113258.yaml delete mode 100644 .changes/unreleased/Features-20231210-165636.yaml delete mode 100644 .changes/unreleased/Features-20231218-121506.yaml delete mode 100644 .changes/unreleased/Features-20240102-163031.yaml delete mode 100644 .changes/unreleased/Fixes-20231116-153955.yaml delete mode 100644 .changes/unreleased/Fixes-20231128-142315.yaml delete mode 100644 .changes/unreleased/Fixes-20231204-183426.yaml delete mode 100644 .changes/unreleased/Fixes-20231205-110320.yaml delete mode 100644 .changes/unreleased/Fixes-20231206-155814.yaml delete mode 100644 .changes/unreleased/Fixes-20231207-145013.yaml delete mode 100644 .changes/unreleased/Fixes-20231207-170704.yaml delete mode 100644 .changes/unreleased/Fixes-20231215-141744.yaml delete mode 100644 .changes/unreleased/Fixes-20231215-154356.yaml delete mode 100644 .changes/unreleased/Fixes-20240110-140727.yaml delete mode 100644 .changes/unreleased/Under the Hood-20231127-133132.yaml delete mode 100644 .changes/unreleased/Under the Hood-20231214-113549.yaml diff --git a/.changes/0.204.0.md b/.changes/0.204.0.md new file mode 100644 index 0000000000..5ffca91044 --- /dev/null +++ b/.changes/0.204.0.md @@ -0,0 +1,40 @@ +## MetricFlow 0.204.0 - January 11, 2024 + +### Features + +- Add Trino support to the MetricFlow. ([#207](https://github.com/dbt-labs/metricflow/issues/207)) +- Implemented date_part in where filter. ([#None](https://github.com/dbt-labs/metricflow/issues/None)) +- Resolve Ambiguous Group-By-Items ([#887](https://github.com/dbt-labs/metricflow/issues/887)) +- Support for Conversion Metrics ([#252](https://github.com/dbt-labs/metricflow/issues/252)) +- Add a Query Validation Rule for Repeated Metrics in a Query ([#943](https://github.com/dbt-labs/metricflow/issues/943)) +- Expose label on Metric & Dimension for use in APIs. ([#956](https://github.com/dbt-labs/metricflow/issues/956)) + +### Fixes + +- Apply time offset for nested dervied & ratio metrics ([#882](https://github.com/dbt-labs/metricflow/issues/882)) +- Fix Incorrect SQL Column Name Rendering for WhereConstraintNode ([#908](https://github.com/dbt-labs/metricflow/issues/908)) +- `Unable To Satisfy Query Error` with Cumulative Metrics in Saved Queries ([#917](https://github.com/dbt-labs/metricflow/issues/917)) +- Fixes a bug in dimension-only queries where the filter column is removed before the filter has been applied. ([#923](https://github.com/dbt-labs/metricflow/issues/923)) +- Bug fix: Keep where constraint column until used for nested derived offset metric queries. ([#930](https://github.com/dbt-labs/metricflow/issues/930)) +- Fixes incorrect time constraint applied to derived offset metrics. ([#925](https://github.com/dbt-labs/metricflow/issues/925)) +- Remove default time constraint for queries with cumulative metrics. ([#917](https://github.com/dbt-labs/metricflow/issues/917)) +- Return exit code 1 for failed validations ([#867](https://github.com/dbt-labs/metricflow/issues/867)) +- Optimizer Does Not Deduplicate Common Metrics ([#941](https://github.com/dbt-labs/metricflow/issues/941)) +- Duplicate input measures after combiner optimizer ([#969](https://github.com/dbt-labs/metricflow/issues/969)) + +### Under the Hood + +- Test to ensure Dimension and TimeDimension syntax are identical in the case of time dimensions ([#None](https://github.com/dbt-labs/metricflow/issues/None)) +- Fixed typo in error message ([#None](https://github.com/dbt-labs/metricflow/issues/None)) + +### Dependencies + +- Remove unnecessary MarkupSafe dependency ([#950](https://github.com/dbt-labs/metricflow/pull/950)) + +### Contributors +- [@DevonFulcher](https://github.com/DevonFulcher) ([#None](https://github.com/dbt-labs/metricflow/issues/None), [#None](https://github.com/dbt-labs/metricflow/issues/None), [#None](https://github.com/dbt-labs/metricflow/issues/None)) +- [@WilliamDee](https://github.com/WilliamDee) ([#252](https://github.com/dbt-labs/metricflow/issues/252), [#867](https://github.com/dbt-labs/metricflow/issues/867), [#969](https://github.com/dbt-labs/metricflow/issues/969)) +- [@courtneyholcomb](https://github.com/courtneyholcomb) ([#956](https://github.com/dbt-labs/metricflow/issues/956), [#882](https://github.com/dbt-labs/metricflow/issues/882), [#923](https://github.com/dbt-labs/metricflow/issues/923), [#930](https://github.com/dbt-labs/metricflow/issues/930), [#925](https://github.com/dbt-labs/metricflow/issues/925)) +- [@plypaul](https://github.com/plypaul) ([#887](https://github.com/dbt-labs/metricflow/issues/887), [#943](https://github.com/dbt-labs/metricflow/issues/943), [#908](https://github.com/dbt-labs/metricflow/issues/908), [#917](https://github.com/dbt-labs/metricflow/issues/917), [#917](https://github.com/dbt-labs/metricflow/issues/917), [#941](https://github.com/dbt-labs/metricflow/issues/941)) +- [@sarbmeetka](https://github.com/sarbmeetka) ([#207](https://github.com/dbt-labs/metricflow/issues/207)) +- [@tlento](https://github.com/tlento) ([#950](https://github.com/dbt-labs/metricflow/pull/950)) diff --git a/.changes/unreleased/Dependencies-20231219-170616.yaml b/.changes/unreleased/Dependencies-20231219-170616.yaml deleted file mode 100644 index de8a0de852..0000000000 --- a/.changes/unreleased/Dependencies-20231219-170616.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Dependencies -body: Remove unnecessary MarkupSafe dependency -time: 2023-12-19T17:06:16.61921-08:00 -custom: - Author: tlento - PR: "950" diff --git a/.changes/unreleased/Features-20231008-195608.yaml b/.changes/unreleased/Features-20231008-195608.yaml deleted file mode 100644 index bd16ae0233..0000000000 --- a/.changes/unreleased/Features-20231008-195608.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add Trino support to the MetricFlow. -time: 2023-10-08T19:56:08.427006-06:00 -custom: - Author: sarbmeetka - Issue: "207" diff --git a/.changes/unreleased/Features-20231107-180843.yaml b/.changes/unreleased/Features-20231107-180843.yaml deleted file mode 100644 index 59b3d218ea..0000000000 --- a/.changes/unreleased/Features-20231107-180843.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Implemented date_part in where filter. -time: 2023-11-07T18:08:43.67846-06:00 -custom: - Author: DevonFulcher - Issue: None diff --git a/.changes/unreleased/Features-20231130-113258.yaml b/.changes/unreleased/Features-20231130-113258.yaml deleted file mode 100644 index 67e12e664a..0000000000 --- a/.changes/unreleased/Features-20231130-113258.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Resolve Ambiguous Group-By-Items -time: 2023-11-30T11:32:58.539081-08:00 -custom: - Author: plypaul - Issue: "887" diff --git a/.changes/unreleased/Features-20231210-165636.yaml b/.changes/unreleased/Features-20231210-165636.yaml deleted file mode 100644 index 234303c7cc..0000000000 --- a/.changes/unreleased/Features-20231210-165636.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Support for Conversion Metrics -time: 2023-12-10T16:56:36.680817-05:00 -custom: - Author: WilliamDee - Issue: "252" diff --git a/.changes/unreleased/Features-20231218-121506.yaml b/.changes/unreleased/Features-20231218-121506.yaml deleted file mode 100644 index e5fa84b272..0000000000 --- a/.changes/unreleased/Features-20231218-121506.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add a Query Validation Rule for Repeated Metrics in a Query -time: 2023-12-18T12:15:06.224541-08:00 -custom: - Author: plypaul - Issue: "943" diff --git a/.changes/unreleased/Features-20240102-163031.yaml b/.changes/unreleased/Features-20240102-163031.yaml deleted file mode 100644 index 3d221a6908..0000000000 --- a/.changes/unreleased/Features-20240102-163031.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Expose label on Metric & Dimension for use in APIs. -time: 2024-01-02T16:30:31.302535-08:00 -custom: - Author: courtneyholcomb - Issue: "956" diff --git a/.changes/unreleased/Fixes-20231116-153955.yaml b/.changes/unreleased/Fixes-20231116-153955.yaml deleted file mode 100644 index eb1f6c5eaa..0000000000 --- a/.changes/unreleased/Fixes-20231116-153955.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Apply time offset for nested dervied & ratio metrics -time: 2023-11-16T15:39:55.211195-08:00 -custom: - Author: courtneyholcomb - Issue: "882" diff --git a/.changes/unreleased/Fixes-20231128-142315.yaml b/.changes/unreleased/Fixes-20231128-142315.yaml deleted file mode 100644 index af60703bee..0000000000 --- a/.changes/unreleased/Fixes-20231128-142315.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix Incorrect SQL Column Name Rendering for WhereConstraintNode -time: 2023-11-28T14:23:15.269611-08:00 -custom: - Author: plypaul - Issue: "908" diff --git a/.changes/unreleased/Fixes-20231204-183426.yaml b/.changes/unreleased/Fixes-20231204-183426.yaml deleted file mode 100644 index f668a75d1e..0000000000 --- a/.changes/unreleased/Fixes-20231204-183426.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: '`Unable To Satisfy Query Error` with Cumulative Metrics in Saved Queries' -time: 2023-12-04T18:34:26.728915-08:00 -custom: - Author: plypaul - Issue: "917" diff --git a/.changes/unreleased/Fixes-20231205-110320.yaml b/.changes/unreleased/Fixes-20231205-110320.yaml deleted file mode 100644 index 6a56a9c8f4..0000000000 --- a/.changes/unreleased/Fixes-20231205-110320.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Fixes -body: Fixes a bug in dimension-only queries where the filter column is removed before - the filter has been applied. -time: 2023-12-05T11:03:20.124953-08:00 -custom: - Author: courtneyholcomb - Issue: "923" diff --git a/.changes/unreleased/Fixes-20231206-155814.yaml b/.changes/unreleased/Fixes-20231206-155814.yaml deleted file mode 100644 index dbefe7184b..0000000000 --- a/.changes/unreleased/Fixes-20231206-155814.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Fixes -body: 'Bug fix: Keep where constraint column until used for nested derived offset - metric queries.' -time: 2023-12-06T15:58:14.895141-08:00 -custom: - Author: courtneyholcomb - Issue: "930" diff --git a/.changes/unreleased/Fixes-20231207-145013.yaml b/.changes/unreleased/Fixes-20231207-145013.yaml deleted file mode 100644 index e6c885d0a0..0000000000 --- a/.changes/unreleased/Fixes-20231207-145013.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fixes incorrect time constraint applied to derived offset metrics. -time: 2023-12-07T14:50:13.630957-08:00 -custom: - Author: courtneyholcomb - Issue: "925" diff --git a/.changes/unreleased/Fixes-20231207-170704.yaml b/.changes/unreleased/Fixes-20231207-170704.yaml deleted file mode 100644 index 1098375104..0000000000 --- a/.changes/unreleased/Fixes-20231207-170704.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Remove default time constraint for queries with cumulative metrics. -time: 2023-12-07T17:07:04.040509-08:00 -custom: - Author: plypaul - Issue: "917" diff --git a/.changes/unreleased/Fixes-20231215-141744.yaml b/.changes/unreleased/Fixes-20231215-141744.yaml deleted file mode 100644 index c244e7f0dd..0000000000 --- a/.changes/unreleased/Fixes-20231215-141744.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Optimizer Does Not Deduplicate Common Metrics -time: 2023-12-15T14:17:44.7035-08:00 -custom: - Author: plypaul - Issue: "941" diff --git a/.changes/unreleased/Fixes-20231215-154356.yaml b/.changes/unreleased/Fixes-20231215-154356.yaml deleted file mode 100644 index f07960d90c..0000000000 --- a/.changes/unreleased/Fixes-20231215-154356.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Return exit code 1 for failed validations -time: 2023-12-15T15:43:56.503346-05:00 -custom: - Author: WilliamDee - Issue: "867" diff --git a/.changes/unreleased/Fixes-20240110-140727.yaml b/.changes/unreleased/Fixes-20240110-140727.yaml deleted file mode 100644 index 8df50e7110..0000000000 --- a/.changes/unreleased/Fixes-20240110-140727.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Duplicate input measures after combiner optimizer -time: 2024-01-10T14:07:27.027242-05:00 -custom: - Author: WilliamDee - Issue: "969" diff --git a/.changes/unreleased/Under the Hood-20231127-133132.yaml b/.changes/unreleased/Under the Hood-20231127-133132.yaml deleted file mode 100644 index 3631d96e8f..0000000000 --- a/.changes/unreleased/Under the Hood-20231127-133132.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Under the Hood -body: Test to ensure Dimension and TimeDimension syntax are identical in the case - of time dimensions -time: 2023-11-27T13:31:32.631027-06:00 -custom: - Author: DevonFulcher - Issue: None diff --git a/.changes/unreleased/Under the Hood-20231214-113549.yaml b/.changes/unreleased/Under the Hood-20231214-113549.yaml deleted file mode 100644 index a834c780c5..0000000000 --- a/.changes/unreleased/Under the Hood-20231214-113549.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Fixed typo in error message -time: 2023-12-14T11:35:49.299324-06:00 -custom: - Author: DevonFulcher - Issue: None diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b107a8960..e02e7adbcb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,47 @@ - "Breaking changes" listed under a version may require action from end users or external maintainers when upgrading to that version. - Do not edit this file directly. This file is auto-generated using [changie](https://github.com/miniscruff/changie). For details on how to document a change, see [the contributing guide](https://github.com/dbt-labs/metricflow/blob/main/CONTRIBUTING.md) +## MetricFlow 0.204.0 - January 11, 2024 + +### Features + +- Add Trino support to the MetricFlow. ([#207](https://github.com/dbt-labs/metricflow/issues/207)) +- Implemented date_part in where filter. ([#None](https://github.com/dbt-labs/metricflow/issues/None)) +- Resolve Ambiguous Group-By-Items ([#887](https://github.com/dbt-labs/metricflow/issues/887)) +- Support for Conversion Metrics ([#252](https://github.com/dbt-labs/metricflow/issues/252)) +- Add a Query Validation Rule for Repeated Metrics in a Query ([#943](https://github.com/dbt-labs/metricflow/issues/943)) +- Expose label on Metric & Dimension for use in APIs. ([#956](https://github.com/dbt-labs/metricflow/issues/956)) + +### Fixes + +- Apply time offset for nested dervied & ratio metrics ([#882](https://github.com/dbt-labs/metricflow/issues/882)) +- Fix Incorrect SQL Column Name Rendering for WhereConstraintNode ([#908](https://github.com/dbt-labs/metricflow/issues/908)) +- `Unable To Satisfy Query Error` with Cumulative Metrics in Saved Queries ([#917](https://github.com/dbt-labs/metricflow/issues/917)) +- Fixes a bug in dimension-only queries where the filter column is removed before the filter has been applied. ([#923](https://github.com/dbt-labs/metricflow/issues/923)) +- Bug fix: Keep where constraint column until used for nested derived offset metric queries. ([#930](https://github.com/dbt-labs/metricflow/issues/930)) +- Fixes incorrect time constraint applied to derived offset metrics. ([#925](https://github.com/dbt-labs/metricflow/issues/925)) +- Remove default time constraint for queries with cumulative metrics. ([#917](https://github.com/dbt-labs/metricflow/issues/917)) +- Return exit code 1 for failed validations ([#867](https://github.com/dbt-labs/metricflow/issues/867)) +- Optimizer Does Not Deduplicate Common Metrics ([#941](https://github.com/dbt-labs/metricflow/issues/941)) +- Duplicate input measures after combiner optimizer ([#969](https://github.com/dbt-labs/metricflow/issues/969)) + +### Under the Hood + +- Test to ensure Dimension and TimeDimension syntax are identical in the case of time dimensions ([#None](https://github.com/dbt-labs/metricflow/issues/None)) +- Fixed typo in error message ([#None](https://github.com/dbt-labs/metricflow/issues/None)) + +### Dependencies + +- Remove unnecessary MarkupSafe dependency ([#950](https://github.com/dbt-labs/metricflow/pull/950)) + +### Contributors +- [@DevonFulcher](https://github.com/DevonFulcher) ([#None](https://github.com/dbt-labs/metricflow/issues/None), [#None](https://github.com/dbt-labs/metricflow/issues/None), [#None](https://github.com/dbt-labs/metricflow/issues/None)) +- [@WilliamDee](https://github.com/WilliamDee) ([#252](https://github.com/dbt-labs/metricflow/issues/252), [#867](https://github.com/dbt-labs/metricflow/issues/867), [#969](https://github.com/dbt-labs/metricflow/issues/969)) +- [@courtneyholcomb](https://github.com/courtneyholcomb) ([#956](https://github.com/dbt-labs/metricflow/issues/956), [#882](https://github.com/dbt-labs/metricflow/issues/882), [#923](https://github.com/dbt-labs/metricflow/issues/923), [#930](https://github.com/dbt-labs/metricflow/issues/930), [#925](https://github.com/dbt-labs/metricflow/issues/925)) +- [@plypaul](https://github.com/plypaul) ([#887](https://github.com/dbt-labs/metricflow/issues/887), [#943](https://github.com/dbt-labs/metricflow/issues/943), [#908](https://github.com/dbt-labs/metricflow/issues/908), [#917](https://github.com/dbt-labs/metricflow/issues/917), [#917](https://github.com/dbt-labs/metricflow/issues/917), [#941](https://github.com/dbt-labs/metricflow/issues/941)) +- [@sarbmeetka](https://github.com/sarbmeetka) ([#207](https://github.com/dbt-labs/metricflow/issues/207)) +- [@tlento](https://github.com/tlento) ([#950](https://github.com/dbt-labs/metricflow/pull/950)) + ## MetricFlow 0.203.1 - November 15, 2023 ### Fixes