Symptoms
Consider the following scenario:
-
You have a partitioned table that contains a spatial index in Microsoft SQL Server 2016 and 2017.
-
You run a query that has a predicate by using a spatial operation on the partitioning column in such a way that the resulting data will only be located in a subset of all partitions.
In this scenario, SQL Server can typically use partition elimination in a query plan that only allows to read the data from relevant partitions. However, if a spatial index is used in the query plan, you may notice that SQL Server reads all partitions.
Resolution
This update is included in the following 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 terminologythat Microsoft uses to describe software updates.