-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
Query Integration
-
Minor Change
-
ALL
-
v7.0, v6.0
When running the attached aggregation pipeline we can see that $density stage is creating a document that is outside of the lower bound.
One example document is this one:
{ "date": { "$date": "2023-04-30T22:00:00.000Z" }, "identifier": { "timeSeriesMetaId": { "$oid": "649155e254fed3423f67efec" }, "transactionId": "a6467a8e-cd71-425c-afc7-0d33bc7892bf", "validFrom": { "$date": "2023-06-20T09:01:20.643Z" } }, "_id": { "$oid": "64916ae054fed3423f002c3a" }, "__v": 0, "value": 27 }
This was discovered on Atlas with MongoDB 6.0.6