Copy Activity Error - (ADF)

Puneet-D 1 Reputation point
2022-12-13T21:28:53.897+00:00

I have a copy activity which is getting data from a OnPrem SQL Server to Azure Synapse and fails with the following Error "COPY statement failed because non nullable column 'City' cannot have the NULL value as its default". It fails when it starts writing from Blob to Synapse.

![270232-image.png]1

The Source & Target columns are defined as NOT NULL and I checked there are no rows with Null values in it or has any default defined as Null on it. Can anyone please help or give some insights what to do?

Thank you,

Puneet

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

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.