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

Push $unwind aggregation stage down to SBE

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • 155

      Planner Updates

      Update planner to push down $unwinds in eligible prefixes.
       

      Stage Builder Updates

      Update stage builder to build pushed-down $unwind stages.

       
      SBE Plan Cache

      Encode pushed down $unwind stages in the plan cache key (canonical_query_encoder.cpp encodePipeline()).'

       
      Update Existing Jstests

      Many tests examine explain output, some instances of which will change when $unwind is pushed down so will need alternate expected results based on featureFlagSbeFull during development. The old expected results will be removed along with featureFlagSbeFull when the feature is complete.

            Assignee:
            kevin.cherkauer@mongodb.com Kevin Cherkauer
            Reporter:
            kevin.cherkauer@mongodb.com Kevin Cherkauer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: