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

Refactor run_aggregate to use helper functions for executing the query

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Query Integration

    Description

      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.

      Attachments

        Activity

          People

            backlog-query-integration Backlog - Query Integration
            will.buerger@mongodb.com Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: