Create unittest fixture for SBE PlanStages

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • Query 2020-08-24
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Drew Paroski
              Reporter:
              Anton Korshunov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: