DEV Community

Tim
Tim

Posted on

Data Factory Error - "Found More Columns Than Expected"

One popular ETL tool in Azure is Data Factory, which is like a cloud version of SSIS for those who are familiar with SSIS. While we could get this error in a variety of situations, the key to pay attention to is the number in the error - such as the row number and have an idea of the expected columns that should be in the result. We see more details about this in the video, Error found when processing 'csv' source 'file' with row number: found more columns than expected.

Some questions that are answered in the video:

  • In the example, what was the mistake that caused this error?
  • How would we solve this error in the example? Considering our environment and where we may see this, how might we solve this error?
  • What is at least one way that we could prevent this error from happening?

The latter question is one to consider if you've seen this error several times. Data factory is not a tool that makes it easy to dynamically update content and you want to be careful about building convoluted pipelines to handle rare issues (unless these rare issues cause serious disruptions). The reason that this could be a drawback is that you'll have to support these pipelines and it's not always clear what the issue is.

My general preference in ETL is to avoid tools like SSIS or data factory because they don't consider what could go wrong and how to easily solve the issue. I would be careful about using either of these tools, as they feel easy to develop, but come with significant costs in troubleshooting.

Top comments (0)