Synapse Analytics Tutorial error - HdfsBridge::recordReaderFillBuffer - Unexpected error encountered filling record reader buffer: ClassCastException: class java.lang.Long cannot be cast to class java.lang.Integer (java.lang.Long and java.lang.Integer are

Ricard Valero 0 Reputation points
2023-05-25T12:39:47.1066667+00:00

At stage 5 in the Get started tutorial for Azure Synapse Analytics (link = https://learn.microsoft.com/en-us/azure/synapse-analytics/get-started-analyze-sql-pool), an error occurs when attempting to Load the NYC Taxi Data into SQLPOOL1. See below.

support2

After pasting the code and running on Synapse, the error message is the following:

support3

HdfsBridge::recordReaderFillBuffer - Unexpected error encountered filling record reader buffer: ClassCastException: class java.lang.Long cannot be cast to class java.lang.Integer (java.lang.Long and java.lang.Integer are in module java.base of loader 'bootstrap')

Unsure what to do since neither the parquet file can be edited, and I simply just copied the SQL code above.

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.
3,091 questions
{count} votes