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

Optimize any child expressions in $setWindowFields

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Query Optimization 2021-04-19, Query Optimization 2021-05-03

    Description

      Similar to $group, we should override the optimize() method to optimize any expressions that are held by the stage:

      https://github.com/mongodb/mongo/blob/bb6b69cd9223649aa27d67cd9a157e7e199e0f03/src/mongo/db/pipeline/document_source_group.cpp#L258

      Attachments

        Activity

          People

            yuhong.zhang@mongodb.com Yuhong Zhang
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: