-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Incremental Sync - Deduped WITHOUT History #3487
Comments
Thanks for the issue! Could you elaborate on the problem you're trying to solve? What is the problem of having the history table being generated in the destination? Do you have concerns about storage space being used or are there some other reasons why it is unwanted? |
Hi @ChristopheDuong, I'm trying to avoid both unused/unnecessary tables and inserts/copy commands on the destination DB |
Hi! I would also like this feature.
|
Quick implementation:One approach is to clean up extra rows after normalization:
This will be possible to do/implement (by a user) soon thanks to #2959 Long term implementationAnother approach, but not so easy to execute is to always drop completely the |
I think of this proposal as an additional property in the protocol that each destination can opt in to support. |
A related use case: to handle late arriving facts (ex https://discourse.getdbt.com/t/on-the-limits-of-incrementality/303) In that case It would make sense for the destination to dedup without history. On the source side it is allowed to use windows, since its follows the "at-least-once" delivery principle. |
Yes, you are right, there is also the option of a destination handling the sync mode completely on its own without relying on normalization at all. There is a |
That would be awesome. It adds some complexity to the protocol and UI. |
This is now possible with Destinations V2. |
Tell us about the problem you're trying to solve
I'd like to sync data in an incremental way (records being updated and not appended) but no need for the history table.
Describe the solution you’d like
Having a sync option -
Incremental Sync - Deduped
(no history)Describe the alternative you’ve considered or used
Using
Incremental Sync - Deduped History
┆Issue is synchronized with this Asana task by Unito
The text was updated successfully, but these errors were encountered: