-
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
$convert can produce output whose size depends on the input value rather than the input document size. For example, converting a large integer to its string representation produces output proportional to the magnitude of the number, not the size of the stored BSON. This makes memory consumption depend on data values in a way that is not statically bounded and can be surprising to operators.
In classic, $convert is implemented by the ExpressionConvert class.
- is related to
-
SERVER-128584 [v8.3] Add memory checks for $convert from BinData to array
-
- Closed
-