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

Rewrite $lookup localField/foreignField stages to execute with pipeline/let

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Aggregation Framework
    • Labels:
      None

      Description

      With the addition of pipeline/let syntax to $lookup, we have a split in parts of the DocumentSourceLookup implementation to address both forms. We can unify implementation by rewriting $lookup with localField/foreignField syntax to run using a foreign pipeline with match on 'let' variables.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-query-optimization Backlog - Query Optimization
              Reporter:
              james.wahlin James Wahlin
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: