-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
There is a call to AccumulationExpression::factory() in a $group optimization here. SERVER-97674 will add another call in a different optimization. We should instead only call this once (maybe during parsing) and store the AccumulatorState objects for use in optimizations, rather than creating the AccumulatorState objects more than once.
CC Arun Banala
- related to
-
SERVER-97674 If $concatArrays is present in $group, disable top-k sort absorption into $group timeseries rewrite
- Closed