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.
This update is included in the following cumulative updates for SQL Server:
Learn about the terminologythat Microsoft uses to describe software updates.