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

Coalesce adjacent exclusion projections

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible

      To avoid unnecessary intermediate document materialization.

      I don't know of any evidence that suggests this is a common pattern "in the wild," but it is similar to a case Xiaochen has mentioned where users have a replaceRoot followed by a projection that can be coalesced into a single DocumentSourceSingleDocumentTransformation.

            Assignee:
            evan.bergeron@mongodb.com Evan Bergeron
            Reporter:
            evan.bergeron@mongodb.com Evan Bergeron
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: