Too many columns in the line.

kshitij jain 1 Reputation point
2021-06-17T12:15:59.037+00:00

HdfsBridge::recordReaderFillBuffer - Unexpected error encountered filling record reader buffer: HadoopExecutionException: Too many columns in the line.

This error is being displayed when I am trying to view top 10 results from a table in azure synapse analytics, the column type and format is consistent with the external table.

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,876 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Samara Soucy - MSFT 5,051 Reputation points
    2021-06-17T15:11:37.73+00:00

    Hello @kshitijjain-0490

    You may have already checked the mappings list, but if you haven't, I would recommend starting by verifying they are correct since that is the usual cause https://learn.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/design-elt-data-loading#define-the-tables:

    If everything looks good there, it will help narrow things down to know if this only happens on an external table or if the query will work fine if you can access it from a view.

    If neither of those give any new info, there are a couple things that will help me try to reproduce the problem. First is whether you are running this on a dedicated or serverless pool. The second big one would be the mappings you are using. If there is any proprietary info in the column names please change them to something generic, but it would help a lot to know what the table structure is.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.