Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-57555

Change IX scan stage builder to support bounds not known at query compile time

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None

      Description

      To support $lookup using an indexed nested loop join, we will need some way to run an index scan using bounds that are not known until runtime. The bounds will be provided as a correlated value from the left side of the join.

      This work will involve changing sbe_stage_builder_index_scan to support cases where the bounds are provided via slots, rather than as IndexBounds known at compile time.

        Attachments

          Activity

            People

            Assignee:
            backlog-query-execution Backlog - Query Execution
            Reporter:
            ian.boros Ian Boros
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: