$group aggregation command should maintain document order

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • Query
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Backlog - Query Team (Inactive)
              Reporter:
              Billy Tetrud
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: