Consolidate source + remove tests#67
Conversation
* Q2 FY26: Apply automated update. * Q2 FY26: Update auto-release workflow only. --------- Co-authored-by: fivetran-catfritz <111930712+fivetran-catfritz@users.noreply.github.com> Co-authored-by: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
…com/fivetran/dbt_salesforce into MagicBot/consolidate-source-package
fivetran-joemarkiewicz
left a comment
There was a problem hiding this comment.
@fivetran-jamie a few requests to update before approval
| +materialized: table | ||
| intermediate: | ||
| +materialized: ephemeral |
There was a problem hiding this comment.
This config doesn't look right? There's no intermediate folder in this location.
There was a problem hiding this comment.
This may be a FR for us to explore more in the future
There was a problem hiding this comment.
Yeah I noticed that too and noted it to make a FR later. Also all of the models get written to the target schema - would we want to explore changing that later as well?
There was a problem hiding this comment.
@fivetran-joemarkiewicz should i create a FR here
There was a problem hiding this comment.
Yes, that would be great. I wouldn't want to change this just now, but we should in a future update.
There was a problem hiding this comment.
Created FR #68 for us to evaluate in a future update.
| - name: user | ||
| identifier: "{{ var('salesforce_user_identifier', 'user')}}" | ||
| config: | ||
| loaded_at_field: _fivetran_synced |
There was a problem hiding this comment.
Is this meant to be here?
There was a problem hiding this comment.
@fivetran-joemarkiewicz We should remove this with the global config in place
There was a problem hiding this comment.
As these are redundant, we ended up removing in this release.
| identifier: "{{ var('salesforce_account_history_identifier', 'account')}}" | ||
| description: Represents historical records of individual accounts, which are organizations or people involved with your business (such as customers, competitors, and partners). | ||
| config: | ||
| loaded_at_field: _fivetran_synced |
There was a problem hiding this comment.
Is this meant to be here?
There was a problem hiding this comment.
As these are redundant, we ended up removing in this release.
| identifier: "{{ var('salesforce_contact_history_identifier', 'contact')}}" | ||
| description: Represents the historical record of contacts, which are people associated with an account. | ||
| config: | ||
| loaded_at_field: _fivetran_synced |
There was a problem hiding this comment.
Is this meant to be here?
There was a problem hiding this comment.
There was a problem hiding this comment.
@fivetran-joemarkiewicz I think we can remove these with the global config in place, all the history models have this config, so it's redundant now.
There was a problem hiding this comment.
Yeah let's remove them now that they're not necessary given the global config.
There was a problem hiding this comment.
As these are redundant, we ended up removing in this release.
| identifier: "{{ var('salesforce_opportunity_history_identifier', 'opportunity')}}" | ||
| description: Represents historical records of opportunities, which are sales or pending deals. | ||
| config: | ||
| loaded_at_field: _fivetran_synced |
There was a problem hiding this comment.
Is this meant to be here?
There was a problem hiding this comment.
As these are redundant, we ended up removing in this release.
Co-authored-by: Joe Markiewicz <74217849+fivetran-joemarkiewicz@users.noreply.github.com>
fivetran-avinash
left a comment
There was a problem hiding this comment.
@fivetran-joemarkiewicz A few comments and suggestions before approval.
| - name: user | ||
| identifier: "{{ var('salesforce_user_identifier', 'user')}}" | ||
| config: | ||
| loaded_at_field: _fivetran_synced |
There was a problem hiding this comment.
@fivetran-joemarkiewicz We should remove this with the global config in place
| identifier: "{{ var('salesforce_contact_history_identifier', 'contact')}}" | ||
| description: Represents the historical record of contacts, which are people associated with an account. | ||
| config: | ||
| loaded_at_field: _fivetran_synced |
There was a problem hiding this comment.
@fivetran-joemarkiewicz I think we can remove these with the global config in place, all the history models have this config, so it's redundant now.
| +materialized: table | ||
| intermediate: | ||
| +materialized: ephemeral |
There was a problem hiding this comment.
@fivetran-joemarkiewicz should i create a FR here
| tmp: | ||
| +materialized: view |
There was a problem hiding this comment.
There are no tmp models (or folder) in salesforce_history, should we remove this?
There was a problem hiding this comment.
Good call, removing as it's not used.
There was a problem hiding this comment.
Should we remove the +materialized: table in line 8 since it's setting everything in Buildkite as a table by default; although everything appears to be a table right now, it could mess up any future configurations we set up in the base dbt_project.yml
There was a problem hiding this comment.
Yeah that's a good callout. Removed the config to avoid any confusion in future updates.
| salesforce: | ||
| staging: | ||
| +materialized: table | ||
| tmp: |
There was a problem hiding this comment.
There are no tmp models (or folder) in salesforce, should we remove this?
There was a problem hiding this comment.
Yes, removed this config as it's not being used.
Co-authored-by: Avinash Kunnath <108772760+fivetran-avinash@users.noreply.github.com>
Co-authored-by: Avinash Kunnath <108772760+fivetran-avinash@users.noreply.github.com>
Co-authored-by: Avinash Kunnath <108772760+fivetran-avinash@users.noreply.github.com>

Summary
This PR is to combine the source and transform packages and remove tests not compatible with dbt Fusion 1.10.6+.
Please check the below automated updates were successful:
MANUAL UPDATES
Q2 FY26 Automatic Package UpdatesPR.Source + Transform Consolidation
dbt Fusion Compatibility
dbt_utils.unique_combination_of_columnstestYAML & Config Updates
+schemaand+materializationfor the staging models indbt_project.yml.README