-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Source Freshness test -- how to exclude static tables that are sourced from a database #490
Comments
Hi! Using the
|
I am using the seed for 3 other tests that are working correctly so I am certain its loading in the correct order: Seed:
(I also tried using the source name "legacy.XXX_historical_calls" in place of the staging table name and that gave the same error) Output from FCT_SOURCES_WITHOUT_FRESHNESS table (1 row): |
What about
The column name in the |
That did it! thank you. I had to use the exact case -- which normally I don't since I'm using Snowflake, however this is a reference to a source so that makes sense. Is "resource_name" in the documentation somewhere? All the examples show "child" -- it may help to add a few more examples in the docs.
|
I might add another example in the docs where the column is not called |
What do you mean it would depend on each table? i literally put "resource_name" in there |
I mean that to add exceptions for the table But any column returned from any of the Taking Any of those columns can be used in the seed if we wanted to exclude specific rows. Does it make sense? |
Wow ok -- I never made the correlation between that and the name of the column in the evaluator table -- all makes sense now. I honestly thought child was some default for a fact table --- just never clicked. I see now the name of the column in the evaluator tables is what you reference. All good -- thanks again for the quick help! |
Describe the bug
I recently updated to 14.x and while I use source freshness for most of my tables, I have a table that is sourced from a database that has static data. How do I exclude this table from the source freshness test? I've tried to add it to my dbt_project_evaluator_exceptions seed however it doesn't seem to work.
Steps to reproduce
N/A
Expected results
N/A
Actual results
N/A
Screenshots and log output
N/A
System information
Which database are you using dbt with?
The output of
dbt --version
:The text was updated successfully, but these errors were encountered: