[PBT] Extend $sort+$group and $group with accumulator functions test coverage.

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In particular want to cover cases when a distinct scan optimization can be applied wrongly. This optimization is possible when $group groups on the prefix of an existing index and the accumulator functions specifies sorting on some of the remaining fields of the index. 

      See SERVER-110803 for some examples.

            Assignee:
            Unassigned
            Reporter:
            Alexander Ignatyev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: