This was happening due to inserting null value in source to not null in destination
ADF Generic error while moving data from ADLS Gen 2 to Synapse
I am getting this error below while moving Data from ADLS Gen 2 .csv files to Azure Synapse. I try changing data types for destination and to max length but the errro is still there Source file have almost 3 billion rows
Exception of type 'Microsoft.SqlServer.DataWarehouse.Tds.PdwManagedToNativeInteropException' was thrown.,Source=.Net SqlClient Data Provider,SqlErrorNumber=100000,Class=16,ErrorCode=-2146232060,State=1,Errors=[{Class=16,Number=100000,State=1,Message=PdwManagedToNativeInteropException ErrorNumber: 46724, MajorCode: 467, MinorCode: 24, Severity: 20, State: 2, Exception of type 'Microsoft.SqlServer.DataWarehouse.Tds.PdwManagedToNativeInteropException' was thrown.,},],'