Replication Method not available in Target #3071
Replies: 3 comments
-
cc @jcellary |
Beta Was this translation helpful? Give feedback.
-
Hey @joaopamaral 👋
Probably no good reason other than the Singer spec not covering it initially.
I think this is kind of what
I've got a WIP PR2, which I've had a hard time putting time into so more eyes are welcome in case there are gaps in the implementation. Footnotes |
Beta Was this translation helpful? Give feedback.
-
Nice! Thank you for the reply @edgarrmondragon, I'll check the
Sure! I'll take a look 👀 . Thanks |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We’re currently working on developing a new Singer target and came across a question regarding the
replication_method
. Is there a specific reason why this property isn’t typically defined or used on the target side?Our expectation was that the
replication_method
could help the target determine whether to overwrite all table data (Full Table) or to insert/upsert based on incremental replication. However, we’ve noticed that some targets seem to infer this behavior solely from the presence or absence ofkey_properties
— not just to determine insert vs. upsert behavior, but even to decide whether to recreate the table — which doesn’t always align with the intended replication strategy askey_properties
could be define toFULL_TABLE
as we can see in this example.@edgarrmondragon, do you happen to know if there’s a standard around this, or any rationale for targets ignoring replication_method?
Beta Was this translation helpful? Give feedback.
All reactions