Performance improvements for queries on tables with thousands of partitions when only a limited subset of partitions need to be accessed.