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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: