-
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
Bugfix/email send idi #26
Conversation
Hey @fivetran-joemarkiewicz this is ready for review. As for testing it looks like our data only has one
|
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.
Hey @fivetran-reneeli thanks for opening this PR. I am comfortable with the limited data we have. However, there are a few changes I think we need to make. It looks like the email_send_id
is used in a downstream join but we only updated the field in the stg_marketo__activity_send_email
model. Can we update this field in all other models where it is created (for example it also occurs in stg_marketo__activity_email_bounced? Additionally, we will need to update the yml definitions similarly where we update it.
Once those updates are applied, can you test that this branch works with the downstream dbt_marketo
package. Since this is a patch release, we won't want to accidentally cut a release that can have downstream failures. Let me know if you have any questions.
CHANGELOG.md
Outdated
- Updated surrogate key `email_send_id` to include `primary_attribute_value_id`. The previous key was at a campaign level grain, not an email level grain. This is pertinent in the case where there are multiple emails that part of the same campaign. (https://github.com/fivetran/dbt_marketo_source/issues/25) | ||
[#26](https://github.com/fivetran/dbt_marketo_source/pull/26) | ||
## Contributors | ||
- [sfc-gh-sugupta](https://github.com/sfc-gh-sugupta) |
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.
Can you link the issue @sfc-gh-sugupta originally created. This was we can see their contribution since it is not a direct commit.
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.
It looks like this wasn't added. Would you be able to link the issue next to the account name
Co-authored-by: Joe Markiewicz <[email protected]>
Thanks for catching that @fivetran-joemarkiewicz! I've updated |
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 applying the changes @fivetran-reneeli! It looks like the CHANGELOG request from the last review was missed. Would you be able to make that update. Once that is applied, this is good to go!
CHANGELOG.md
Outdated
- Updated surrogate key `email_send_id` to include `primary_attribute_value_id`. The previous key was at a campaign level grain, not an email level grain. This is pertinent in the case where there are multiple emails that part of the same campaign. (https://github.com/fivetran/dbt_marketo_source/issues/25) | ||
[#26](https://github.com/fivetran/dbt_marketo_source/pull/26) | ||
## Contributors | ||
- [sfc-gh-sugupta](https://github.com/sfc-gh-sugupta) |
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.
It looks like this wasn't added. Would you be able to link the issue next to the account name
Pull Request
Are you a current Fivetran customer?
Internal
What change(s) does this PR introduce?
Updates surrogate key
email_send_id
to includeprimary_attribute_value_id
.Did you update the CHANGELOG?
Does this PR introduce a breaking change?
Updating a field
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
How did you test the PR changes?
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.