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

Serialize variables within nested pipelines which are defined in an outer context

    • Fully Compatible
    • Query Optimization 2021-05-31, Query Optimization 2021-06-14, Query Optimization 2021-06-28

      Add the ability for a variable defined in a let in one $lookup stage to be referenced within a subpipeline of a nested $lookup, when all collections involved are sharded.

      This should include serializing a constant-variable ExpressionFieldPath to be the constant, and to serialize a nested pipeline via serialize() rather than returning the unparsed version.

            Assignee:
            alya.berciu@mongodb.com Alya Berciu
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: