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

Optimize any child expressions in $setWindowFields

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Query Optimization 2021-04-19, Query Optimization 2021-05-03

      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

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

              Created:
              Updated:
              Resolved: