-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
None
-
Query Optimization
-
QO 2025-01-20
Query:
[ { "$sort": { "_id": 1 } }, { "$group": { "_id": "$obj.any", "num": { "$max": { "$multiply": [ { "$dayOfYear": { "date": ISODate("2019-12-17T19:49:02.641Z"), "timezone": "Asia/Urumqi" } }, "$num", "$obj.num", 68526 ] } } } } ]
We're seeing a differing result between v7.0 with optimizations off and master with optimizations on.
The former returns
{_id: null, num: {$numberDecimal: Infinity}}
While the latter returns
{_id: null, num: {$numberDouble: Infinity}}
- duplicates
-
SERVER-97059 Non deterministic Infinity vs NumberDecimal(Infinity) comparisons
- Needs Scheduling
- is related to
-
SERVER-97059 Non deterministic Infinity vs NumberDecimal(Infinity) comparisons
- Needs Scheduling
- split from
-
SERVER-99244 Triage and resolve record and diff failures during corpus generation
- Closed