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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • QE 2023-03-06
    • 5

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: