Hi @Shubhangi Sanjay ,
Welcome to Microsoft Q&A platform and thanks for posting your question here.
As I understand your issue , you are trying to perform Upsert in Azure Synapse analytics , however, in your case the key column is a composite key , that means, combination of two columns. You want to know the way to handle it in the pipeline. Please correct me if my understanding is wrong.
You can store the key columnnames in the same field in lookup table . For example:
KeyColumn
:C2_id,Date_added
. In the copy activity, inside keycolumns option, add dynamic content and provide the following expression :@split(item().keyColumn,',')
This will convert the keycolumns as ["C2_id","Date_added"]
For more details, kindly watch out this video: How to perform Upsert for Incremental records using Azure Synapse Pipelines
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on or upvote button whenever the information provided helps you.
Original posters help the community find answers faster by identifying the correct answer. Here is how - Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators