-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
None
-
Query
-
Fully Compatible
I just wasted a ton of time before realizing that $group doesn't group by the order of input documents. This is incredibly counter-intuitive and makes the already-complicated aggregation more complex to understand. I don't see why $group shouldn't guarantee input order, and it would be very helpful if it did.
- is duplicated by
-
SERVER-41891 $group on sorted cursor forces full collection scan
- Closed
-
SERVER-43029 sort before group, without changing key...
- Closed
-
SERVER-45333 Why we can not push not push the data from top in $group aggreagtion
- Closed