FIX: DBCC CHECKDB with EXTENDED_LOGICAL_CHECKS fails on a table in SQL Server 2016

Applies to: SQL Server 2016 DeveloperSQL Server 2016 EnterpriseSQL Server 2016 Enterprise Core

Symptoms


Assume that you use Microsoft SQL Server 2016. When you run DBCC CHECKTABLE with EXTENDED_LOGICAL_CHECKS on a table with a filtered nonclustered index (NCI) over a clustered columnstore index (CCI), you may receive the error message that resembles the following:

Msg5297, Level 16, State 1, Line LineNumber
TheCross Rowset check between clustered columnstore index and nonclustered index(object ID ObjectId, index ID IndexId, partition number PartitionNum) failed. Pleaserebuild the partition.
Msg5297, Level 16, State 1, Line LineNumber
TheCross Rowset check between clustered columnstore index and nonclustered index(object ID ObjectId, index ID IndexId, partition number PartitionNum) failed. Please rebuildthe partition.
Msg5297, Level 16, State 1, Line LineNumber
TheCross Rowset check between clustered columnstore index and nonclustered index(object ID ObjectId, index ID IndexId, partition number PartitionNum) failed. Please rebuildthe partition.
DBCCresults for 'TableName'.
Thereare 1 rows in 1 pages for object"'TableName'".
CHECKDBfound 0 allocation errors and 3 consistency errors in table''TableName'' (object ID ObjectId).
CHECKDBfound 0 allocation errors and 3 consistency errors in database'DatabaseName'.
DBCCexecution completed. If DBCC printed error messages, contact your systemadministrator.
Completiontime: DateTime

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. 

Resolution


This issue is fixed in the following cumulative update 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:

References


Learn about the terminology that Microsoft uses to describe software updates.