[SERVER-69261] Generate mkobj expressions instead of MkBsonObjStage for PROJECTION_COVERED and PROJECTION_SIMPLE Created: 30/Aug/22  Updated: 14/Mar/23  Resolved: 14/Mar/23

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

Type: Improvement Priority: Major - P3
Reporter: Mihai Andrei Assignee: Backlog - Query Execution
Resolution: Won't Do Votes: 0
Labels: pm2697-m4
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-68970 Update sbe_stage_builder_projection.c... Closed
Assigned Teams:
Query Execution
Participants:
Story Points: 5

 Description   

Once SERVER-68970 is complete, the 'generateProjection' will, in a large number of cases, use traverseP + mkobj expressions to evaluate a projection. This method, however, is only called when translating a PROJECTION_DEFAULT.
This ticket tracks the work to extend the use of mkobj expressions when translating a PROJECTION_SIMPLE and a PROJECTION_COVERED.

(Also, this task should see whether or not this improves the performance of any workloads that leverage these query solution nodes).



 Comments   
Comment by Kyle Suarez [ 28/Sep/22 ]

andrew.paroski@mongodb.com says 10 story points is way too much; adjusted the estimate to 5.

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