Copy to Azure Postgresql with upsert

Ben C 166 Reputation points
2020-10-20T08:19:36.48+00:00

I want to copy from data lake to azure database postgresql using upsert option, is that possible? I don't want to truncate or remove records, to insert or update if they exist.

If not, what are my other options?

Azure SQL Database
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,670 questions
Azure Database for PostgreSQL
0 comments No comments
{count} votes

Accepted answer
  1. Vaibhav Chaudhari 38,631 Reputation points
    2020-10-20T08:29:33.31+00:00

    One option that can be tried is - To copy the data from ADL to Postgresql staging table

    Have Lookup activity - Use query that will perform Upsert from staging table to main table


    Please don't forget to Accept Answer and Up-vote if the response helped -- Vaibhav

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful