SERVER-139016Backlog

Use CompactHashAggStage for eligible $group stages behind featureFlagSbeCompactHashAgg

Make the SBE stage builder run an eligible scalar {{$group}} on {{CompactHashAggStage}}, behind {{featureFlagSbeCompactHashAgg}}, which stays off by default. The stage builder picks {{CompactHashAggStage}} only when all of these hold; otherwise it builds {{HashAggStage}} as before. * {{featureFlagSbeCompactHashAgg}} is enabled. * {{allowDiskUse}} is false, since the compact stage cannot spill yet. * Every accumulator has a compact implementation ({{$sum}} and {{$push}} for now). A {{$group}} wit

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1026
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.