Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14965

[Server] Enable all accumulators for $group pushdown

      Downstream Change Summary

      The explain plan will now contain a GROUP stage in the winninPlan part of the queryPlanner section of the explain plan. For an example see,

      "winningPlan" : {
      "queryPlan" : {
      "stage" : "GROUP", <--- new node.
      "planNodeId" : 2,
      "inputStage" : {
      "stage" : "COLLSCAN",
      "planNodeId" : 1,
      "filter" : {

      },
      "direction" : "forward"
      }
      },
      "slotBasedPlan" :

      Unknown macro: { "slots" }

      ",
      "stages" : "[2] mkbson s11 [_id = s7, s = s10] true false \n[2] project [s10 = doubleDoubleSumFinalize (s9)] \n[2] group [s7] [s9 = aggDoubleDoubleSum (s8)] \n[2] project [s8 = getField (s4, \"x\")] \n[2] project [s7 = fillEmpty (s6, null)] \n[2] project [s6 = getField (s4, \"_idMod10\")] \n[1] scan s4 s5 none none none none [] @\"9d840c15-b98e-4daf-a0d5-e79fdfa85311\" true false "
      }
      },

      Description of Linked Ticket

      https://docs.mongodb.com/manual/reference/operator/aggregation/group/

            Assignee:
            kanchana.sekhar@mongodb.com Kanchana Sekhar
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              7 weeks, 2 days ago