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

Add utilized fields in an inclusion projection based on dependency analysis of pipeline after $unpackBucket

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • None
    • Querying
    • None
    • Fully Compatible
    • Query 2021-01-25

    Description

      This should be done from a callout inside $unpackBucket's doOptimizeAt() before other optimizations. It might be smart to kick the pipeline iterator back back and give $projects a chance to merge before continuing with the others.

      Attachments

        Activity

          People

            hana.pearlman@mongodb.com Hana Pearlman
            craig.homa@mongodb.com Craig Homa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: