Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-24799

$group aggregation command should maintain document order

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 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.

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

              Created:
              Updated:
              Resolved: