-
Notifications
You must be signed in to change notification settings - Fork 27
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/renamed-columns-datespine #56
Conversation
{% if var('salesforce__lead_enabled', True) -%} | ||
-- depends_on: {{ var('lead') }} | ||
{% else -%} | ||
-- depends_on: {{ var('opportunity') }} | ||
{% endif %} |
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.
This is still necessary for dbt run
. I tried running without it, and the error said to put it back. It's still not necessary for compilation, however.
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.
@fivetran-catfritz thanks for the quick resolution here! This change looks good to me. I just have one request to add an additional note to the CHANGELOG; however, that doesn't need to be blocking the review - as long as it is applied before the release review is initiated. Thanks!
[PR #56](https://github.com/fivetran/dbt_salesforce/pull/56) includes the following updates: | ||
## Bugfix | ||
- Updated the logic for model `int_salesforce__date_spine` to reference the `stg_*` staging models instead of the source tables. | ||
- This was necessary since the staging models account for multiple spellings of column names while the source tables do not. |
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 also add either another bullet here or an under the hood entry that now that model has a depends on statement and also leverages the flags.WHICH. More for our purposes so we know how this issue was addressed and some underlying impacts.
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.
Updated!
PR Overview
This PR will address the following Issue/Feature:
This PR will result in the following new package version:
Please provide the finalized CHANGELOG entry which details the relevant changes included in this PR:
PR Checklist
Basic Validation
Please acknowledge that you have successfully performed the following commands locally:
dbt run (if incremental models are present) && dbt testBefore marking this PR as "ready for review" the following have been applied:
Detailed Validation
Please share any and all of your validation steps:
Making sure the issue is corrected
CreatedDate
and withoutcreated_date
.Ensuring consistency between versions
salesforce__daily_activity
is downstream of the date spine.If you had to summarize this PR in an emoji, which would it be?
🎏