I was initially interested in using Datastreams to set up CDC from Postgres to BigQuery. I was under the assumption that any updates to data in Postgres would create a new row in BigQuery rather than update the existing record.
When the preview for this feature went live I set up a datastream and am almost certain the behavior matched what I described above. I just recently set up another datastream and it now seems that records in BigQuery are being overwritten rather than having a new record added.
Is this the expected behavior?
Was the previous behavior a bug?
Is there a way to preserve historical records in BigQuery with datastreams?