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

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

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • Query Optimization

      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.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: