When a users sets a model enabled variable to false (ie. intercom__using_company_tags: false), then the freshness tests will error out because the user does not in fact have that table in their source system.
Steps to reproduce
Don't have one of the tables in your source.
Set the variable to false to disable the use of it.
Run dbt source freshness and watch an error occur because the freshness test on that source table is still being run.
Expected behavior
When a user disables a model, the freshness tests do not run.
- [X] BigQuery
- [X] Redshift
- [X] Snowflake
- [X] Postgres
- [ ] Databricks
- [ ] Other (provide details below)
**Additional context**
This same issue has already been resolved in other dbt packages. See the [dbt_greenhouse_source](https://github.com/fivetran/dbt_greenhouse_source/pull/15/files) PR for how this is resolved.
Are you a current Fivetran customer?
Fivetran created Issue
Describe the bug
When a users sets a model enabled variable to false (ie.
intercom__using_company_tags: false
), then the freshness tests will error out because the user does not in fact have that table in their source system.Steps to reproduce
false
to disable the use of it.dbt source freshness
and watch an error occur because the freshness test on that source table is still being run.Expected behavior
When a user disables a model, the freshness tests do not run.
Package Version
Warehouse
- [X] BigQuery - [X] Redshift - [X] Snowflake - [X] Postgres - [ ] Databricks - [ ] Other (provide details below) **Additional context** This same issue has already been resolved in other dbt packages. See the [dbt_greenhouse_source](https://github.com/fivetran/dbt_greenhouse_source/pull/15/files) PR for how this is resolved.