Open justin-fundrise opened 5 days ago
Hi @justin-fundrise ,
try setting this config in a new src_iterable.yml
file. That should exclude a source from freshness calculations.
sources:
- name: iterable
overrides: iterable_source
description: override Iterable package configs
...
config
tables:
- name: user_unsubscribed_channel_history
freshness: null
Glad to see that you confirmed this worked out @justin-fundrise !
Just wanted to check in--do you think the source freshness tests are important for you? Our team is considering removing them because maintaining these tests is a bit of a pain to maintain and it can lead to errors that you experience, and require these custom configurations.
Let us know your thoughts!
I think it would be okay to remove the freshness checks. This is something that is more specific to a business’s needs depending on their use case of the data.
Is there an existing issue for this?
Describe the issue
https://github.com/fivetran/dbt_iterable_source/blob/847b282848a98f7ea8947df4f0aa5639649845dc/models/src_iterable.yml#L11-L13
While implementing the iterable package, I am running into an error on my slim ci dbt job.
during the execution of
dbt source freshness
I am encountering the errorWhich is correct because I do not have the table
USER_UNSUBSCRIBED_CHANNEL_HISTORY
I would expect source freshness to skip this table if it is not explicitly being used.
Relevant error log or model output
iterable: +tags: ft_iterable +schema: fivetran # this schema name is prefixed to iterable intermediate: +schema: fivetran # this schema name is prefixed to int_iterable +tags: ft_iterable iterable_source: +schema: fivetran # this schema name is prefixed to stg_iterable +tags: ft_iterable_src
vars: iterable_database: blueprints_prod iterable_schema: src_iterable iterable__using_campaign_label_history: false iterable__using_user_unsubscribed_message_type: false
What database are you using dbt with?
snowflake
How are you running this dbt package?
dbt Cloud™
dbt Version
versionless
Additional Context
No response
Are you willing to open a PR to help address this issue?