Do not absorb $sort into a $group with $accumulator and ($first or $last)

XMLWordPrintableJSON

    • Query Integration
    • Fully Compatible
    • ALL
    • v8.0
    • QI 2024-04-29
    • 155
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Note that SERVER-87589 removes $sort and so the input document order to $group can be changed. We don't know for sure whether $accumulator implementation depends on the input document order or not

            Assignee:
            Yoon Soo Kim (Inactive)
            Reporter:
            Yoon Soo Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: