You need to tell ADF what is your target database key column as part of the upsert operation. That setting is on the sink settings when you select "Allow Upserts" in the sink settings.
dataflow - column mapping issue
arkiboys
9,696
Reputation points
Hello,
In the data factory pipeline I have a dataflow.
source1 --> sink1
I ran the pipeline and then populated the destination dataset in sink1
Then, I added the alter row activity between the source and sink as below but the pipeline when runs gives error.
source1 --> alter row --> sink1
Error
{"message":"Job failed due to reason: Key column(s) should be specified for non-insertable operations. Details:","failureType":"UserError","target":"df_B2S_Upsert","errorCode":"DF-DELTA-KeyColumnMissed"}
Hope the screen-shots below can help
sink1
Accepted answer
-
MarkKromer-MSFT 5,216 Reputation points Microsoft Employee
2021-10-03T06:54:57.677+00:00