[SERVER-74111] Improve SBE stage builder to not require kResult in buildSimpleProjection and buildSort Created: 16/Feb/23  Updated: 02/Mar/23  Resolved: 02/Mar/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Anna Wawrzyniak Assignee: Anna Wawrzyniak
Resolution: Won't Do Votes: 0
Labels: pm2697-m3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: QE 2023-03-06
Participants:
Story Points: 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

Generated at Thu Feb 08 06:26:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.