-
Notifications
You must be signed in to change notification settings - Fork 101
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
dbt snapshot
not working with existing timestamp
column
#495
Comments
dbt snapshot
not working with SQL Server 2019dbt snapshot
not working with existing timestamp
column
Might not be related to dbt?: |
@ericmuijsvanoord thank you for looking into this. Unfortunately casting to
Was the first time encountering this issue. Sounds like also not a common issue on your end? Looks like a data source anomaly that I'll work around some other way. Thanks! |
timestamp is some internal database type that tracks changes on a table. Basically it is not "data" but more metadata on the table by the sql server engine. It is handy for tracking changes so you might be able to search and fine a way to convert it to datetime or integer for tracking changes. |
Overriding the column datatype to Again -- I great appreciate your efforts looking into this @ericmuijsvanoord! |
This should be closed, this is a special datatype that isn't really a timestamp, as already explained by eric you could just use a check strategy over that column to generate the snapshot:
|
dbt snapshot
not working with SQL Server 2019 using a source table containing atimestamp
column.dbt snapshot
Error message
SQL Server version
The text was updated successfully, but these errors were encountered: