Share via

ADF error : DFExecutorUserError

Manisha Kottary 66 Reputation points
2021-06-18T10:20:28.207+00:00

I have create a data flow in ADF and I am running it via a pipeline. The pipeline is validated and there are no errors. I am also able to preview all the data in the sink . But on executing the pipeline I am getting the following error :

Error code : DFExecutorUserError

Failure type : User configuration issue
Details:

{"StatusCode":"DFExecutorUserError","Message":"Job failed due to reason: at Sink 'sink1': java.sql.BatchUpdateException: Violation of PRIMARY KEY constraint 'employee_pk'. Cannot insert duplicate key in object 'dbo.employee'. The duplicate key value is (E04).","Details":"java.sql.BatchUpdateException: Violation of PRIMARY KEY constraint 'employee_pk'. Cannot insert duplicate key in object 'dbo.employee'. The duplicate key value is (E04).\n\tat shaded.msdataflow.com.microsoft.sqlserver.jdbc.SQLServerStatement.executeBatch(SQLServerStatement.java:1753)\n\tat com.microsoft.dataflow.transformers.store.JDBCWriter.executeBatchSQLs(JDBCStore.scala:457)\n\tat com.microsoft.dataflow.transformers.store.JDBCWriter.executeSQL(JDBCStore.scala:439)\n\tat com.microsoft.dataflow.transformers.store.JDBCWriter$$anonfun$executeTableOpAndPostSQLAndDDL$1.apply$mcV$sp(JDBCStore.scala:485)\n\tat com.microsoft.dataflow.transformers.store.JDBCWriter$$anonfun$executeTableOpAndPostSQLAndDDL$1.apply(JDBCStore.scala:485)\n\tat com.microsoft.dataflow.transformers.store.JDBCWriter$$anonfun$executeTableOpAndPostSQLAndDDL$1.apply(JDBCStore.scala:485)\n\tat com.microsoft.dataflow.transformers.StoreContext$.timed(Store.scala:130)\n\tat com.microsoft.dataflow.transformers.store.JDBCWriter.executeTableOpAndPostSQLAndDDL(JDBCSto"}

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.


Answer accepted by question author

Nandan Hegde 36,886 Reputation points MVP Volunteer Moderator
2021-06-18T10:23:51.11+00:00

Hey,
Can you please tell us what your source and sink are ?
And based on the error message: The error is due to data issues at the source and no where related to your ADF.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

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