FIX: Error occurs when running sp_updatestats on the table that has a clustered columnstore index and memory optimized index

Gilt für: SQL Server 2016 DeveloperSQL Server 2016 EnterpriseSQL Server 2016 Enterprise Core

Symptoms


Assume that you have a database in Microsoft SQL Server 2016. The database has at least onetable that contains a clustered columnstore index and a memory optimizedindex. When you run sp_updatestats in the table, you may receive an error message that resembles the following:

Msg 35337, Level 16, State 1, Line LineNumber 
UPDATE STATISTICS failed because statisticscannot be updated on a columnstore index. UPDATE STATISTICS is valid only whenused with the STATS_STREAM option

Note The error message shouldnot be present in the "Resolution" section after you have applied theupdate.

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.