How to add upsert in Postgres flexi server

Kanwar, Pramod 20 Reputation points
2023-10-03T18:53:28.2566667+00:00

Hi,

We implemented copied data from source to destination by following this link.

https://learn.microsoft.com/en-us/answers/questions/1351963/how-we-can-implement-cdc-or-copied-data-from-sourc

Our source and destination are Postgres Flexi server and SHIR is being used.

Therefore, moved to watermark approach. However, facing other issue

When update the source data. It is not being to allow to update the existing row sink data.

Upsert option is not available here. Please guide us to add update existing row sink data changes.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,624 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. QuantumCache 20,366 Reputation points Moderator
    2023-10-04T15:39:53.5433333+00:00

    Hello @Kanwar, Pramod

    I am checking the document!User's image

    Did you try the Upsert functionality?

    By using the "Upsert" transformation in the copy activity, you can insert new rows or update existing rows.

    you can use the "Upsert" sink transformation in the copy activity. The "Upsert" transformation allows you to insert new rows or update existing rows based on a matching condition.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.