Implement DocumentSourceExtension::distributedPlanLogic() for sharded execution

XMLWordPrintableJSON

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

      Implement DocumentSourceExtension::distributedPlanLogic() to enable extension aggregation stages to participate in sharded execution planning by managing the MongoExtensionDistributedPlanLogic -> DocumentSource::DistributedPlanLogic conversion.

      This will require overriding distributedPlanLogic() in DocumentSourceExtensionOptimizable to convert VariantDPLHandle elements into DocumentSource instances, then constructing the host's DistributedPlanLogic with shardsStage, mergingStages, and mergeSortPattern.

            Assignee:
            Daniel Segel
            Reporter:
            Daniel Segel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: