Consider the following scenario:
- You have the PolyBase feature installed in SQL Server 2016 and 2017.
- You have a table that has thousands of partitions.
- You create a new partition. The column numbers of the new partition are different from the partition already created.
- You use the schema of the latest partition to create a PolyBase external table.
In this scenario, when you run a query that includes a Boolean field the operation may fail. Additionally, you may receive an error message that resembles the following:
Msg 7320, Level 16, State 110, Line LineNumber
Cannot execute the query "Remote Query" against OLE DB provider "SQLNCLI11" for linked server "(null)". 110802;An internal DMS error occurred that caused this operation to fail. Details: Exception: Microsoft.SqlServer.DataWarehouse.DataMovement.Common.ExternalAccess.HdfsAccessException, Message: Java exception raised on call to HdfsBridge_CreateRecordReader. Java exception message:
HdfsBridge::CreateRecordReader - Unexpected error encountered creating the record reader.: Error [HdfsBridge::CreateRecordReader - Unexpected error encountered creating the record reader.] occurred while accessing external file
This issue is fixed in the following cumulative updates for SQL Server:
About cumulative updates for SQL Server:
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server: