-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add max operator to get_relation_last_modified macro (#234)
### Summary Metadata freshness checks were not working properly if `dbt source freshness` was ran without using the `loaded_at_field` keyword. This is because we were not reducing the amount of results to the max commited_at value in our metadata select statement. ### Description Added the max operator as suggested by @KingLommel. Also fixed the relevant test to include more than one snapshot. ### Changelog - [x] Added a summary of what this PR accomplishes to CHANGELOG.md ### Related Issue #229
- Loading branch information
1 parent
8a295da
commit 9a9391e
Showing
3 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters