[SBE] Add query knob to limit maximum number of statically generated index scan intervals

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Query 2020-07-13, Query 2020-07-27
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      As an optimization, SBE decomposes index bounds into a list of statically known intervals when possible. However, this list of intervals could grow large (there's a combinatoric effect). Therefore, we should add a configurable query knob which limits the maximum number of intervals. If this limit is exceeded, we should fall back to the non-optimized SBE plan which uses the IndexBoundsChecker to compute seek points dynamically.

            Assignee:
            Andrii Dobroshynskyi (Inactive)
            Reporter:
            David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: