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

Optimize any child expressions in $setWindowFields

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      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

            Assignee:
            yuhong.zhang Yuhong Zhang
            Reporter:
            nicholas.zolnierz Nicholas Zolnierz
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: