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

Refactor run_aggregate to use helper functions for executing the query

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible

      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:
            erin.liang@mongodb.com Erin Liang
            Reporter:
            will.buerger@mongodb.com Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: