Hello @@sam nick, Just checking on this!
Did you get a chance to see the suggestion given by KranthiPakala-MSFT in the previous comment?
I was able to reproduce the exact error shown in your scenario!
Reason for Error: When i am trying to insert the Column with PK as shown below, the insert is failing!!!!
Below Source CSV will make it fail!
I have removed the duplicate row from CSV and the activity is now success.
Please make sure to have a look at the Upsert and Insert selection in the Sink settings.
Below is my Table design!
Could you please check the Alter Row condition in your Data Flow?
Please let us know what is the condition you have set on the Alter Row, so that we too ty to repro the issue!!!
Below is the Alter row condition in my Data Flow.
If i use the Pipeline for Orchestrating the Copy from Source to Sink, I see there is no issue in the activity.
Please let us know if you need further help in this matter.