Skip to content
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

Update collect_freshness #129

Open
perttus opened this issue Jan 31, 2024 · 0 comments
Open

Update collect_freshness #129

perttus opened this issue Jan 31, 2024 · 0 comments

Comments

@perttus
Copy link
Contributor

perttus commented Jan 31, 2024

There's a deprecation warning when running dbt source freshness:

The 'collect_freshness' macro signature has changed to return the full query
result, rather than just a table of values. See the v1.5 migration guide for
details on how to update your custom macro:
https://docs.getdbt.com/guides/migration/versions/upgrading-to-v1.5

So we need to simply remove the .table from the line

{{ return(load_result('collect_freshness').table) }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant