-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
Fully Compatible
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Overview
SERVER-136171 and SERVER-138459 mark a pushed-down $group as eligibleForStreamingGroup on its GroupNode and count it, but never build a StreamingGroupNode. Build one when it is eligible.
Scope of Work
- When featureFlagSbeStreamingGroup is on and the $group is eligible, extendWithAggPipeline builds a StreamingGroupNode instead of a GroupNode, with streamingKey set from the matched sort fields.
- The eligibility counter stays under its own flag, featureFlagStreamingGroupEligibilityCounter; a streaming node still counts as eligible.
- Add featureFlagSbeStreamingGroup back to fully_disabled_feature_flags.yml. SlotBasedStageBuilder::buildStreamingGroup only tasserts (13600700) until the stage builder is implemented, so the all-feature-flags variants would fail otherwise.
Acceptance Criteria
- Planner tests check the node type with the flag on and off.
- is depended on by
-
SERVER-138656 Build StreamingAggStage from StreamingGroupNode
-
- Closed
-
- is related to
-
SERVER-136171 Make StreamingGroupNode in extendWithAggPipeline when possible
-
- Closed
-
-
SERVER-138459 Plan StreamingGroupNode for compound group keys
-
- Closed
-
- related to
-
SERVER-136320 Make featureFlagSbeStreamingGroup not fully disabled
-
- In Code Review
-
-
SERVER-138666 Don't bypass removeInclusionProjectionBelowGroupRecursive for streaming group
-
- Needs Scheduling
-