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

If $concatArrays is present in $group, disable top-k sort absorption into $group timeseries rewrite

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • ALL
    • 200

      Since $concatArrays depends on the order of the documents coming in (as in, the output is guaranteed to preserve the order of incoming documents, like $push), we need to add the accumulator to this list in the rewrite.

            Assignee:
            militsa.sotirova@mongodb.com Militsa Sotirova
            Reporter:
            militsa.sotirova@mongodb.com Militsa Sotirova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: