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

Improve SBE stage builder to not require kResult in buildSimpleProjection and buildSort

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • QE 2023-03-06
    • 5

      Improve SBE stage builder to not require kResult in buildSimpleProjection and buildSort:

      • fix buildSimpleProjection to not pass down kResult
      • fix buildSort to not eagerly require kResult and instead use kResult or fields from output as returned from the child. And in addition to that, if child decided to return kResult in output despite not being asked to do so, discard it before buffering. Or assert that it's impossible

            Assignee:
            anna.wawrzyniak@mongodb.com Anna Wawrzyniak
            Reporter:
            anna.wawrzyniak@mongodb.com Anna Wawrzyniak
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: