-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
This is for the classic engine, note that the SBE $addToSet, $setUnion, $concatArrays window functions already do this. SBE $push does not, SERVER-96224 tracks the work there
$push should respect internalQueryMaxPushBytes
$addToSet should respect internalQueryAddToSetBytes
$setUnion should respect internalQuerySetUnionBytes
$concatArrays should respect internalQueryConcatArraysBytes
We should also add tests for these, ideally a JS test that also runs in the all-feature-flags variant so that we get SBE coverage too, similar to this existing test for $setUnion/$concatArrays
- is duplicated by
-
SERVER-96351 $push, $addToSet, $setUnion, $concatArrays window functions should respect memory limits
- Closed
- is related to
-
SERVER-43944 Accumulators (and possibly expressions) can allocate large amounts of memory
- Backlog
- related to
-
SERVER-96224 $push for $setWindowFields in SBE doesn't respect internalQueryMaxPushBytes
- Open