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

Refactor run_aggregate to use helper functions for executing the query

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration

      Execution of the query seems to be one logical step in the overall run_aggregate path. We should break it into a helper functions to clean up the high-level path, one for executing explain and one for executing a normal query. The inputs for explain are the aggregation plan, the explain verbosity, the executor, and the ReplyBuilderInterface. The inputs for normal execution are the aggregation plan, the expression context, the privilege vector, the externalDataSourceScopeGuard, the executors, and the ReplyBuilderInterface.

            Assignee:
            joseph.shalabi@mongodb.com Joe Shalabi
            Reporter:
            will.buerger@mongodb.com Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: