-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Snapshot Strategy invalidate_hard_deletes, column dbt_updated_at does not update after first execution #2935
Comments
@sebastianvillarroel Thanks for the write-up! Traditionally, snapshots record In large part, this is because Here's what we have in the docs today:
As such, I'm hesitant to change the behavior here; I'd rather document and make clear that I'm going to close this issue for now, but I'm open to hearing your disagreement! The code change involved here would be quite straightforward. |
Describe the bug
While testing the feature flag
invalidate_hard_deletes
, I noticed that the columndbt_updated_at
has the same value as the columndbt_valid_from
, which does not truly represent when the row was last updated.Steps To Reproduce
dbt snapshot
dbt snapshot
dbt snapshot
Expected behavior
I expect that the column
dbt_update_at
represents whendbt
modified last time the record.Screenshots and log output
This is the result of our testing
System information
Which database are you using dbt with?
The output of
dbt --version
:The operating system you're using:
The output of
python --version
:The text was updated successfully, but these errors were encountered: