-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
Query
We should be able to force conversion between NumberInt(), NumberLong(), and JavaScript double precision floating point numbers in order to normalize the output from situations like that in SERVER-5209. The best thing to do would be to have explicit coercion expressions available in $project.
- depends on
-
SERVER-6203 Aggregation operators should have well defined implicit type coercion behavior.
- Backlog
- duplicates
-
SERVER-32784 Add $convert with support for typecasting between numeric types
- Closed
- is related to
-
SERVER-5209 can't compare values of BSON types 16 and 18
- Closed
-
SERVER-16418 Add a way to convert a number or string value(s) to a date in $project
- Closed
- related to
-
SERVER-8582 Extend document expression language in aggregation to support advanced document filtering.
- Closed
-
SERVER-6166 consider expanding to wider data type on math overflow
- Closed