-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Destinations should support timestamp with millisecond precision #8904
Comments
Do we need to add |
@alafanechere @tuliren any updates on source snowflake (#9915) ? This issues is magnified in our use cases where large data dump(10-100k rows) is added at source in single operation which make timestamp of lots of rows same and all them are resynced in in next sync operation. |
Sources have been fixed. Converting this to destination-specific issue. Next step: create issues for each destination, which is capable of supporting millisecond precision |
@alexandr-shegeda, is GL working on the destination changes as well? |
Summary
Currently Postgres source returns timestamp with second precision. This causes problem for timestamp columns with millisecond precision when such column is used as the cursor in the incremental sync. The data persisted on the destination side has second precision, while the original data in the database has millisecond precision. Consequently, the timestamp in the original data is always newer than that synced to the destination because of the extra millisecond values. So the sync is always triggered even when there is is no new data.
Slack thread.
TODOs
dbt
code. Some of them may be combined in one project (e.g. some JDBC destinations).┆Issue is synchronized with this Asana task by Unito
The text was updated successfully, but these errors were encountered: