-
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
Support dbt-semantic-interfaces 0.3.0 #8820
Conversation
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8820 +/- ##
==========================================
+ Coverage 86.27% 86.30% +0.03%
==========================================
Files 177 177
Lines 26354 26383 +29
==========================================
+ Hits 22738 22771 +33
+ Misses 3616 3612 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
def upgrade_v10_metric_filters(manifest: dict): | ||
"""Metric filters changed from v10 to v11 | ||
|
||
v10 filters from a serialized manaifest looked like: |
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.
🕵️ typo: manaifest -> manifest
1f3109f
to
5bb084d
Compare
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide. |
Did I caught this PR at a bad time? Seems like the diffs are empty right now |
Regenerating the v10 and v11 test manifest artifacts uncovered an issue wherein we weren't handling disabled metrics that need to get upgraded. This commit fixes that. Additionally, the `upgrade_v10_metric_filters` was getting a bit unwieldy, so I broke extracted the abstracted sub functions.
When we regenerated the v10 test manifest artifact, it started having the `metricflow_time_sine` model, and it didn't previously. This caused `test_backwards_compatible_versions` to start failing because it was no longer identified as having modified state for v10. The test has been altered accordingly
5bb084d
to
3e6cd21
Compare
There was some squash merge weirdness. We've fix it now. Still weird, but less weird. |
resolves #8819
Problem
We need to use DSI 0.3.0 for 1.7
Solution
Upgrade the dependency on DSI to us 0.3.x versions. Update metric filters and saved query wheres to use new
WhereFilterIntersection
objectChecklist