FIX: Filtered NCI over a CCI may not be maintained when the table is updated in a way that none of the key or included columns of the NCI are changed in SQL Server 2016 and 2017

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

Symptoms


Assume that you have a table with a filtered nonclustered index (NCI) over a clustered columnstore index (CCI) in SQL Server 2016 and 2017. When you update the table in a way that none of the key or included columns of the NCI are updated, you may notice that the filtered NCI is not maintained. Specifically, the update will cause rows in the CCI to move, and the locator values of the corresponding rows in the filtered NCI may not be updated. This issue may cause a persistent cross-rowset corruption and wrong results for SELECT queries.

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 updates for SQL Server:
About cumulative updates for SQL Server:

Each new cumulative update for SQL Server contains all thehotfixes and all the security fixes that were included with the previouscumulative update. Check out the latest cumulative updates for SQL Server:

References


Learn about the terminology thatMicrosoft uses to describe software updates.