Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-73935

Extend Pipeline::makePipeline to accept aggregate options

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2023-02-20, QE 2023-03-06, QE 2023-03-20, QE 2023-04-03

      The recommended way to construct a pipeline for internal use is 'Pipeline::makePipeline'. However, at the time of writing, this method doesn't support specifying any aggregate command options. This ticket tracks the work to support specifying aggregate options to Pipeline::makePipeline.

      As an implementation note, this will likely involve plumbing aggregate options through 'attachCursorSourceToPipeline' so that they are available at the time of executor creation.

            Assignee:
            adi.agrawal@mongodb.com Adi Agrawal
            Reporter:
            mihai.andrei@mongodb.com Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: