Refactor $exchange optimization code so it can be reused

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      (After SERVER-92457) we should refactor $exchange logic in sharded_agg_helpers either to live in its own header/cpp and be used in split_pipeline.h/.cpp, or have it live directly there, so that we don't have to check eligibility in DocumentSourceGroupBase::
      pipelineDependentDistributedPlanLogic to determine if we can/should fully push a $group down.

              Assignee:
              Unassigned
              Reporter:
              Alya Berciu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: