How to: add a new UUID (unique for each Sync) to all rows from all streams for a given sync? #63319
Unanswered
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_id
makingfull_refresh_append
streams difficult to use...Currently when I deploy changes to production using terraform... often change sets cause full
delete/create
of my ConnectionsThis causes the
_airbyte_generation_id
to reset... previously on myfull_refresh_append
tables 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_id
Option 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_id
https://docs.airbyte.com/platform/understanding-airbyte/airbyte-metadata-fields#the-_airbyte_meta-field
sync_id
seemed to have rows with different_airbyte_generation_ids
kubectl namespace delete airbyte
reinstall and redeploy... mysync_id
will get out of wackBeta Was this translation helpful? Give feedback.
All reactions