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

make snapshot check strategy simpler and still correct #1709

Merged
merged 2 commits into from
Aug 28, 2019

Conversation

drewbanin
Copy link
Contributor

via @mikaelene in #1614 (comment)

The snapshot check strategy that dbt used in 0.14.1 pre-releases was unduly complex. We can simplify this logic while still preserving the correctness of dbt snapshot when the check strategy is specified. Further, the approach shown here should be faster than the previous implementation because we can avoid a potentially costly subquery.

@cla-bot cla-bot bot added the cla:yes label Aug 28, 2019
@drewbanin drewbanin added this to the 0.14.1 milestone Aug 28, 2019
@drewbanin drewbanin merged commit ce58da8 into dev/0.14.1 Aug 28, 2019
@drewbanin drewbanin deleted the fix/simplify-snapshot-check-logic branch August 28, 2019 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants