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

Push $unwind aggregation stage down to SBE

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • 155

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: