Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Query Optimization 2021-05-17
Description
The $expMovingAvg function conceptually implies that documents within a partition have some ordering to them, such that more recent values have a higher weight than older ones. Instead of returning an arbitrary result based on the non-sorted order of documents, we should require an explicit sortBy.