-
Notifications
You must be signed in to change notification settings - Fork 23
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
[Feature] Support the basic dbt 1.6 metric #870
[Feature] Support the basic dbt 1.6 metric #870
Conversation
Signed-off-by: Wei-Chun, Chang <[email protected]>
Co-authored-by: wcchang <[email protected]> Signed-off-by: popcorny <[email protected]>
Signed-off-by: Wei-Chun, Chang <[email protected]>
Signed-off-by: Wei-Chun, Chang <[email protected]>
Signed-off-by: Wei-Chun, Chang <[email protected]>
Signed-off-by: Wei-Chun, Chang <[email protected]>
Signed-off-by: Wei-Chun, Chang <[email protected]>
Signed-off-by: Wei-Chun, Chang <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #870 +/- ##
==========================================
+ Coverage 47.83% 47.92% +0.08%
==========================================
Files 71 71
Lines 10021 10189 +168
==========================================
+ Hits 4794 4883 +89
- Misses 5227 5306 +79
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
||
m = Metric(metric.get('name'), | ||
calculation_method='derived', | ||
expression=f"{numerator.get('name')} / {denominator.get('name')}", |
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.
nitpick: Would be better to pass the calculation_method & numerator & denominator to Metric object. Then generate the SQL accordingly. But now, it is fine.
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.
Will put it into another story to enhance
Signed-off-by: Wei-Chun, Chang <[email protected]>
PR checklist
What type of PR is this?
feature
What this PR does / why we need it:
Which issue(s) this PR fixes:
sc-32064
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE