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

Disable explain tests for $group sub-pipeline with $unionWith

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Hide

      /buildscripts/resmoke.py run --mongodSetParameter='

      {internalQueryEnableSlotBasedExecutionEngine: true}

      ' --mongodSetParameter='

      {featureFlagSBEGroupPushdown: true}

      ' --suites=aggregation jstests/aggregation/sources/unionWith/unionWith_explain.js

      Show
      /buildscripts/resmoke.py run --mongodSetParameter=' {internalQueryEnableSlotBasedExecutionEngine: true} ' --mongodSetParameter=' {featureFlagSBEGroupPushdown: true} ' --suites=aggregation jstests/aggregation/sources/unionWith/unionWith_explain.js
    • QE 2021-10-04

      This test takes a pipeline with a supported $sum accumulator, which will be eligible for pushdown into sbe.

      testPipeline([{$group: {_id: "$groupKey", sum: {$sum: "$val"}}}]);
      

      Then the test compares the explain between running the pipeline alone and running the pipeline as an inner pipeline of $unionWith. We don't bother to pushdown $group when it's inside $unionWith, so naturally the explain plans are different. This work should figure out what the right update is for the test.

            Assignee:
            yoonsoo.kim@mongodb.com Yoon Soo Kim
            Reporter:
            eric.cox@mongodb.com Eric Cox (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: