-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Execution
-
QE 2026-02-02, QE 2026-02-16
-
(copied to CRM)
-
None
-
None
-
None
-
None
-
None
-
None
-
None
In theory, in some cases it would be nice to select / deselect oversized events using $bsonSize function, e.g.:
{ $match: { $expr: { $lt: [{ $bsonSize: "$$ROOT" }, 16000000] } } }
Currently though, the $bsonSize function will throw BSONObjectTooLarge error when applied to a large documents in intermediate results.
It would be nice to allow $bsonSize expression on intermediate results >16MB.