How to: add a new UUID (unique for each Sync) to all rows from all streams for a given sync? #63319
Unanswered
Liam Considine (iamliamc)
asked this question in
Connector Builder
Replies: 1 comment
-
|
I could switch to: But this assumes no sync will ever create records on more than one day... refreshing at 10pm and now i have rows with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Situation:
Airbyte + Terraform small changes (commonly cause delete/replace) Connections...
Causes reset of
_airbyte_generation_idmakingfull_refresh_appendstreams difficult to use...Currently when I deploy changes to production using terraform... often change sets cause full
delete/createof my ConnectionsThis causes the
_airbyte_generation_idto reset... previously on myfull_refresh_appendtables I had views...Now when the connection is reset and runs again there may be two sets of rows in this table that both share a
_airbyte_generation_idOption 1:
This is why I want to add a unique UUID to all the rows from all the streams of a given sync... lets my view look like...
But I don't know how to do this!
How do i pass the same UUID, unique to each sync, to all the streams and add it as a new field to all of them?
I can't set it as a input (cause it needs to be new for each run)... (unless I orchestrate some kind of patch of the source inputs before each run)
Option 2:
sync_idhttps://docs.airbyte.com/platform/understanding-airbyte/airbyte-metadata-fields#the-_airbyte_meta-field
sync_idseemed to have rows with different_airbyte_generation_idskubectl namespace delete airbytereinstall and redeploy... mysync_idwill get out of wackBeta Was this translation helpful? Give feedback.
All reactions