Skip to content

Conversation

@fivetran-data-model-bot
Copy link
Contributor

@fivetran-data-model-bot fivetran-data-model-bot commented Aug 12, 2025

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

  • If applicable, merge in the Q2 FY26 Automatic Package Updates PR.
  • If there are 2 docs.md files, consolidate the definitions the file in the main folder and remove the 2nd file.
  • Scan the README for non-standard references to the source package and remove or update.
  • Copy the passthrough vars or other non-standard vars from the source dbt_project.yml to the transform dbt_project.yml.
  • Check BK run logs for at least 2 warehouses
    • No further deprecation warnings
    • No union data "table not found" type warnings
  • Make sure below automatic updates were applied correctly.

Source + Transform Consolidation

  • Moved models/macros to models/staging/ and macros/staging/.
  • Updated all var('') references within models to use ref('stg_apple_store__').
  • Updated vars in dbt_project.yml from refs to sources.
  • Removed the source package from packages.yml.
  • Major version bump to v1.0.0 (or higher if applicable)

dbt Fusion Compatibility

  • Removed dbt_utils.unique_combination_of_columns test
  • Accepted values tests were removed where applicable (Shopify, NetSuite, QuickBooks).

YAML & Config Updates

  • Moved loaded_at_field under config: in src.yml, grouped with freshness
  • Added +schema and +materialization for the staging models in dbt_project.yml.

README

  • Removed references to the source package in:
    • Overview
    • Installation instructions
    • Dependencies list
    • Schema override examples

@fivetran-data-model-bot fivetran-data-model-bot added the next-release Include in the next release. label Aug 12, 2025
* 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: Avinash Kunnath <108772760+fivetran-avinash@users.noreply.github.com>
Copy link
Contributor

@fivetran-jamie fivetran-jamie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Three required changes:

  1. See my suggestion about adding the namespace to an adapter.dispatch call
  2. Adjust the run_models.sh file so that the freshness test is run after the data is seeded (currently it's before, so it's just erroring out)
  3. Regen the docs :)

I don't wanna hold up approval after signing off, so as long as these are addressed, you're good to go

@@ -0,0 +1,33 @@
{% macro get_date_from_string(string_text) %}
{{ return(adapter.dispatch('get_date_from_string') (string_text)) }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{{ return(adapter.dispatch('get_date_from_string') (string_text)) }}
{{ return(adapter.dispatch('get_date_from_string', 'apple_store') (string_text)) }}

According these docs we gotta provide the namespace to dispatch

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied these changes!

@fivetran-avinash fivetran-avinash added the docs:ready Triggers the docs generator workflow. label Aug 15, 2025
@fivetran-avinash fivetran-avinash merged commit 748533f into main Aug 15, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs:ready Triggers the docs generator workflow. next-release Include in the next release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Deprecation] Update package for dbt Fusion and dbt Core 1.10.6 compatibility

4 participants