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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • Query 2021-01-25

      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.

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

              Created:
              Updated:
              Resolved: