I have an Azure data factory (DF) pipeline that consists a Copy activity. The Copy activity uses HTTP connector as source to invoke a REST end-point and returns csv stream that sinks with Azure SQL Database table.
The Copy fails when CSV contains strings (such as 40f52caf-e616-4321-8ea3-12ea3cbc54e9
) which are mapped to an uniqueIdentifier field in target table with error message The given value of type String from the data source cannot be converted to type uniqueidentifier of the specified target column
.
I have tried to wrapped the source string with {}
such as {40f52caf-e616-4321-8ea3-12ea3cbc54e9}
with no success.
The Copy activity will work if I modified the target table field from uniqueIdentifier
to nvarchar(100)
.