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

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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Won't Do
    • None
    • None
    • Aggregation Framework
    • None
    • Query Optimization

    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

              backlog-query-optimization Backlog - Query Optimization
              james.wahlin@mongodb.com James Wahlin
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: