-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update spec MetricNode for dbt x MetricFlow integration #7812
Merged
Merged
Changes from 27 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
ce53ad4
Add dbt-semantic-interfaces as a dependency
QMalcolm 0bcbcec
Add implementations of DSI Metadata protocol to nodes.py
QMalcolm 343b948
First pass at refactoring MetricNode definition to satisfy DSI Metric…
QMalcolm b4c3fac
Fix new optional Metric properties to default to None
QMalcolm 091b68b
Fix tests involving metrics to have updated properties
QMalcolm 8690ab3
Update UnparsedMetricNode to match new metric yaml spec
QMalcolm b0fcad8
Update MetricParser for new unparsed and parsed MetricNodes
QMalcolm 6223efd
Remove `rename_metric_attr`
QMalcolm 1e98f5c
First pass fixing tests for Metrics (1.6) changes
QMalcolm 128a830
Regenerated v10 manifest schema and associated functional test artifa…
QMalcolm e50f0b4
Mark manifest v10 as incompatible with previous version of manifest
QMalcolm 310b220
Remove no longer needed tests
QMalcolm c05c2bc
Skip / comment out tests for metrics functionality that we'll be impl…
QMalcolm 57f7b79
Revert "Mark manifest v10 as incompatible with previous version of ma…
QMalcolm 30a30f4
Begin outputting semantic manifest artifact on every run
QMalcolm 1aaaf29
Drop metrics during upgrade_manifest_json if manifest is v9 or before
QMalcolm 64d39fd
Update properties of `minimal_parsed_metric_dict` to match new metric…
QMalcolm 4132c95
Remove `Replacable` inherited class from metric node objects
QMalcolm 616c836
Move from `Sequence` to `List` for Metric node typing
QMalcolm cefc9a7
Fill out Metric Node `reference` helper method
QMalcolm 797c196
Add changie entry for metric node breaking changes
QMalcolm 4e4690f
Unnest metric filter specification for yaml parsing
QMalcolm 6ffc3b8
Enable easy one line measure, measures, nominator, denominator, and m…
QMalcolm 81e0779
Improve easy of specifying `window` on metrics
QMalcolm cdab99f
Merge branch 'main' into qmalcolm--metric-nodes-match-dsi-spec
QMalcolm 8cf0f3c
Add semantic model nodes to semantic manifest
QMalcolm 6099d00
Update `manifest.pydantic_semantic_manifest` typing to non-optional a…
QMalcolm cc4cd6d
Fix naming 'SourceFileMetadata' post merging in main
QMalcolm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
kind: Breaking Changes | ||
body: Switch from dbt-metrics to dbt-semantic-interfaces for MetricNode definitions | ||
time: 2023-06-07T19:03:09.680189-07:00 | ||
custom: | ||
Author: QMalcolm | ||
Issue: 7500 7404 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this rename intentional? re: #7769 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope! looks like my merge of
main
into this branch did screw some things up 😞