An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
Hello @anonymous,
Welcome to the MS Q&A platform.
String or binary data would be truncated, which generally means a type mismatch between source and target. The max length of the target is less than the actual source data. As a result, data is truncated, returning this error.
Please try the below.
- Check the length of actual data in the source and the length of the column in the target table.
- The max length of the intermittent external table in polybase(behind the scenes, PolyBase creates an External Table) is nvarchar(4000). Therefore, if the max length of the source column is greater than nvarchar(4000), polybase option can’t be used.
If this is your case, please try to use the bulk insert option, not the polybase or copy into option in copy activity.
A similar thread has been discussed here.
I hope this helps. Please let me know if you have any further questions.
If this answers your question, please consider accepting the answer by hitting the Accept answer and up-vote as it helps the community look for answers to similar questions