-
Notifications
You must be signed in to change notification settings - Fork 7
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
Bug/duplicate deleted lead ids #26
Bug/duplicate deleted lead ids #26
Conversation
Hi @fivetran-joemarkiewicz. Do you have an ETA on when this PR will be reviewed? We're still having regular failures in our marketo package executions and this will fix it. Thanks. |
Hi @m-feeser my apologies for the delay. I'll work to complete the review of this PR in the current week. |
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.
@m-feeser the changes you are proposing look great and I can see how they will fix the system glitch you are noting while not compromising the expected outcome of the model.
I have just a few requests to make small updates to the CHANGELOG. Once those are applied, we should be able to approve and kick off the merge/release process. Let me know if you have any questions 😄
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.
Thanks for sharing the insight that there is no documentation around the "system glitch". Although I feel Marketo should probably document the glitch 😬.
With that, your changes look appropriate and I am comfortable approving your PR. I will now kick off our internal release process. You should see your update released in the next patch version early on Monday.
My apologies, we will be off on Monday for Martin Luther King day. You can expect this release to be live early on Tuesday. Have a great weekend! |
Thank you @fivetran-joemarkiewicz! 🎉 |
Are you a current Fivetran customer?
Matt Feeser, Data Engineer, Greenhouse
What change(s) does this PR introduce?
This is a bug fix which addresses a "system glitch" in marketo which allows the same
lead_id
to be deleted twice. The duplicate delete causes themarketo__leads.lead_id.unique
test to fail.Did you update the CHANGELOG?
Does this PR introduce a breaking change?
The
int_marketo__lead
model is materialized as a view, so there is no physicalization of data in play. Therefore no reprocessing of previously loaded data is necessary. Moreover, no columns from the modified CTE are exposed. The result is only used in acase
statement to set theis_deleted
column value.Did you update the dbt_project.yml files with the version upgrade (please leverage standard semantic versioning)? (In both your main project and integration_tests)
Is this PR in response to a previously created Bug or Feature Request
[Bug] int_marketo__lead model introducing duplicates #25
How did you test the PR changes?
lead_id
values. The resulting viewint_marketo__lead
contained multiple records with the samelead_id
.distinct lead_id
), ran the model against the same data which contained the duplicatelead_id
values. The resulting view no longer contained multiple records for the samelead_id
.Select which warehouse(s) were used to test the PR
Provide an emoji that best describes your current mood
👷
Feedback
We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your feedback on our existing dbt packages or what you'd like to see next.