Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
100
Description
We don't need to unconditionally compute collection stats here since they are only needed if the query might be able to use column scan (which is only applicable when there are column store indexes present).
Similarly, we don't need to unconditionally initialize the planner params here - we can reduce unnecessary work filling out the params by just checking the index catalog for any CSIs present.