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:
Msg
5297, Level 16, State 1, Line LineNumber
The
Cross Rowset check between clustered columnstore index and nonclustered index
(object ID ObjectId, index ID IndexId, partition number PartitionNum) failed. Please
rebuild the partition.
Msg
5297, Level 16, State 1, Line LineNumber
The
Cross Rowset check between clustered columnstore index and nonclustered index
(object ID ObjectId, index ID IndexId, partition number PartitionNum) failed. Please rebuild
the partition.
Msg
5297, Level 16, State 1, Line LineNumber
The
Cross Rowset check between clustered columnstore index and nonclustered index
(object ID ObjectId, index ID IndexId, partition number PartitionNum) failed. Please rebuild
the partition.
DBCC
results for 'TableName'.
There
are 1 rows in 1 pages for object
"'TableName'".
CHECKDB
found 0 allocation errors and 3 consistency errors in table
''TableName'' (object ID ObjectId).
…
CHECKDB
found 0 allocation errors and 3 consistency errors in database
'DatabaseName'.
DBCC
execution completed. If DBCC printed error messages, contact your system
administrator.
Completion
time: DateTime