-
Notifications
You must be signed in to change notification settings - Fork 6
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
Releases/v0.6.latest #24
Conversation
…severity Updated ad_account_id test severity to warn
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.
LGTM
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.
Should we also/do we need to change the combination_of_columns test to warn in case you have two deleted ad_account_id
s in the same date_day
and source_relation
? Or would we want it to error out in that case? Same question for ad_reporting.
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.
due to our groupbys/aggregations, null accounts will get grouped together, so they shouldn't fail the combination_of_columns tests. do you think we should call this out?
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.
Ahh I see... I think it would make sense to mention.
PR Overview
This PR will address the following Issue/Feature:
#16 (also contains merged PR #20)
This PR will result in the following new package version:
v0.6.2
Please provide the finalized CHANGELOG entry which details the relevant changes included in this PR:
Bug Fixes
ad_account_id
test insnapchat_ads__account_report
towarn
. This is required since Snapchat can hard-delete records from the history tables, but not from the reporting tables. This ensures that accurate statistics are being reported and production pipelines aren't failing. (PR #20)Under the Hood
Contributors
PR Checklist
Basic Validation
Please acknowledge that you have successfully performed the following commands locally:
Before marking this PR as "ready for review" the following have been applied:
Detailed Validation
Please share any and all of your validation steps:
Confirmed working by @bthomson22, but i also recreated the issue in a somewhat hacky way by
running the package as normal
updating the
stg_snapchat_ads__ad_account_history
to have null account IDsrunning
dbt run -m snapchat_ads__account_report
without the code updatedbt test -m snapchat_ads__account_report
-- produces failure without adjusting severitydbt test
again after updating the not_null test to be a warning (did so in Ad Reporting as well)If you had to summarize this PR in an emoji, which would it be?