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

Avoid using projection parser in $setWindowFields

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0, 5.0.7, 5.2.2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • v5.2, v5.0
    • 135

      The $setWindowFields is similar to a projection, so it makes sense to re-use the projection machinery. However we are currently passing the evaluated function result through the parser, which is (1) not correct in all cases (see SERVER-62322) and (2) not performant.

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

              Created:
              Updated:
              Resolved: