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

XMLWordPrintableJSON

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

      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
              Reporter:
              Anna Wawrzyniak
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: