@Dave Gray Thanks for your response. Unfortunately, Copy activity in ADF doesn't have an out of box feature to skip the column automatically unless we exclude the column from explicit mapping manually if we know that particular columns which could cause the issue. Hence the answer is no.
In case if there is no control over the source file generating application to alter these columns or column data, then it would be good to go for Azure functions or any other custom applications to get rid of those columns as this is data issue which is beyond ADF out of box features.
Problem: As per the error message "more columns than expected" which means that those non-printable character columns having values with your column delimiters which is why the above error message is thrown. if there is a column delimiter part of your column value, then that row will have more column than expected. To avoid that issue, either source data needs to be fixed or each column value to be enclosed in a special character that is not part of any of the column values or the non-printable values in your columns that has issue.
In such case, the source data needs to be cleaned/fixed upfront before processing through ADF Copy activity.
This issue is similar to the issues discussed below, please review for additional context of the problem:
Error code: DelimitedTextMoreColumnsThanDefined
CSV Delimited Text More Columns Than Defined - Data Factory
Parsing CSV failing from sftp to blob
Hope this information helps. Please let me know if you have any further questions.
We have also received your feedback that the answer provided on the thread was not helpful. I have provided a detailed answer which has detailed explanation about the problem and how to handle it.
Kindly let us know what we could have done better to improve the answer and make your engagement experience good. We are here to help you and strive to make your experience better and greatly value your feedback.
If you wish, you may consider re-surveying/rating for the engagement you received on the thread. Your feedback is very important to us.
Looking forward to you reply. Much appreciate your feedback!
Please don’t forget to Accept Answer
and Yes
for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.