Hi @ChiragMishraMSFT-1092
Upon trying to load the data from ADLS(csv files) into Azure DW, am encountering a error in loading the data in DW. Here is the error message:
"message": "Failure happened on 'Sink' side. ErrorCode=DelimitedTextMoreColumnsThanDefined,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Error found when processing 'Csv/Tsv Format Text' source 'TABLENAME.csv' with row number 187985: found more columns than expected column count 199.,Source=Microsoft.DataTransfer.Common,'",
Below settings are made in ADF for ADLS while loading the data:
Column delimiter: | (Pipe,Comma)
Encoding: UTF-16 (due to the presence of special characters in the data source)
Escape character: No Escape Character
Quote character: No Quote Character
Please note that if am using Escape Character as Backslash(), the rows having '\' getting distorted and the data is missing in few rows. Using 'No Escape Character' is solving the issue only when the affected rows are filtered out and loaded into Azure DW but when I tried loading in bulk, the above error is thrown.
Below are the troubleshooting steps followed to fix this issues but of no luck:
- Column mapping is done and there is 100% match of columns. No errors in mapping
- Tried autocreate table option, still the same error was seen
- No additional columns noticed by importing schemas to check any column count at Source and Target
Please let me know if I need to clarify my query more.
Would be of great help if you could help me find a fix to handle such issues now and in future.
Looking forward for the response at the earliest.
Thanks in advance, Cheers