Only compute params for query planning when necessary

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • 100
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Alyssa Clark
            Reporter:
            Alyssa Clark
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: