Null freshness tests throwing error when migrating them to the config block as recommended by documentation
The context of why I’m trying to do this
In the project there are freshness checks for the entire source that needs to be ignored for some models that are not expected to get updated frequently (e.g look up values)
dbt command failedArgument for dbt.artifacts.resources.v1.components.FreshnessThreshold.__mashumaro_from_dict__ method should be a dict instance
What I’ve already tried
I’ve looked at the issues and pull requests in the dbt docs github repo and found that the documentation still recommends this approach,
I’ve landed on the solution bellow, however I’ve found that this does not make dbt ignore the freshness checks for these sources, instead it marks them as stale
config:
freshness: {}
Is there something I’m missing or missunderstanding from the documentation?
I am facing the same problem here while trying to fix the deprecation warnings.
There are some automatic fixes available here but I can only access dbt from the browser due to company policies.
I also tried the approach below but I get the same error.
I have a similar type of problem, however it does not apply only to when freshness is set to null, but any type of freshness configuration.
The problem I am having
Whenever I try to specify freshness as part of a config I get the following error when running the dbt source freshness command. Unhandled error while executing.
Can this be linked to our project running on Redshift?