mert_bakir
09/16/2023, 12:35 PMreplication_key_value (the value stored in the meltano state) falls behind. For example in the source system the max value for the updated_at field is in august, so new records does not get inserted.
Is there a way to configure this properly, like telling the tap to use coalesce(updated_at, created_at) ?mert_bakir
09/17/2023, 6:11 AMRows with NULL values in the Replication Key column will only be replicated during the first extraction of an integration. This means subsequent extractions will not capture rows where the Replication Key is NULL.
https://www.stitchdata.com/docs/replication/replication-keys According to this page replication key should not be null, so I have to handle this in the source system. Is this true, there is no way around?
mert_bakir
09/18/2023, 4:30 PMedgar_ramirez_mondragon
09/18/2023, 10:21 PMdef post_process(row, context):
row["updated_at"] = row.get("updated_at") or row["created_at"]
return row
as described in https://github.com/meltano/sdk/issues/1198