Skip to content

Disable Freshness Tests for Disabled Source Tables

Compare
Choose a tag to compare
@fivetran-jamie fivetran-jamie released this 15 Jun 20:36
8d435fc

Hello hello!

This release addresses issue fivetran/dbt_hubspot#41, which pointed out that if you disabled a source model and ran dbt source snapshot-freshness, you could receive errors about the table not existing or being stale. We've re-written the collect_freshness macro to only run on enabled models, and we'll be rolling this out in our other packages with similar logic soon 🥳