[SERVER-49226] Create unittest fixture for SBE PlanStages Created: 01/Jul/20  Updated: 29/Oct/23  Resolved: 13/Aug/20

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

Type: Task Priority: Major - P3
Reporter: Anton Korshunov Assignee: Drew Paroski
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2020-08-24
Participants:

 Description   

The unittest fixture for SBE PlanStages should provide a mechanism to create a PlanStage sub-tree representing an input to the PlanStage being tested, and served as a mocked data queue. This can be implemented by means of coscan - limit 1 - project - unwind subtree, where project stage just projects out a constant array holding BSON elements representing input stream of documents, and unwind stage flattens the array into a stream of documents.

Some additional helper methods may be required to simply the execution and result validation of the PlanStage tree.



 Comments   
Comment by Githook User [ 13/Aug/20 ]

Author:

{'name': 'Drew Paroski', 'email': 'drew.paroski@mongodb.com', 'username': 'paroski'}

Message: SERVER-49226 Create unittest fixture for SBE PlanStages
Branch: master
https://github.com/mongodb/mongo/commit/817ae16840a02b66ce2a50aca44754450bbce6b0

Generated at Thu Feb 08 05:19:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.