
Explanation:
The error DelimitedTextMoreColumnsThanDefined occurs when Azure Data Factory (ADF) attempts to process a file as delimited text (CSV/TSV) but encounters more columns than expected in the data structure. In this specific case:
0_2020_11_09_11_43_32.avro is an Avro file, but ADF is incorrectly trying to process it as Csv/Tsv Format Text.Binary Copy (Option A) is the correct solution because it addresses the root cause: ADF should not attempt to parse Avro files as delimited text. This approach ensures complete data preservation while efficiently accomplishing the file copy operation between ADLS Gen2 folders.
Ultimate access to all questions.
No comments yet.
You have an Azure Data Lake Storage Gen2 account containing two folders named Folder1 and Folder2. You are using Azure Data Factory to copy multiple files from Folder1 to Folder2 and receive the following error:
Operation on target Copy_sks failed: Failure happened on 'Sink' side. ErrorCode=DelimitedTextMoreColumnsThanDefined, 'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException, Message=Error found when processing 'Csv/Tsv Format Text' source '0_2020_11_09_11_43_32.avro' with row number 53: found more columns than expected column count 27., Source=Microsoft.DataTransfer.Common,'
What should you do to resolve this error?
A
Change the Copy activity setting to Binary Copy.
B
Lower the degree of copy parallelism.
C
Add an explicit mapping.
D
Enable fault tolerance to skip incompatible rows.