Implement DocumentSourceExtensionOptimizable for source and transform stages

XMLWordPrintableJSON

    • Query Integration
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As outlined in theĀ technical design, we will need to introduce an explicit desugaring step that will be called from the aggregation execution path immediately after query stats registration.

      This requires that we implement specializations of DocumentSourceExtension, which each have distinct behavior during expansion.

      As part of this ticket, implement DocumentSourceExtensionOptimizable. DocumentSourceExtensionOptimizable does not expand. However, DocumentSourceExtensionOptimizable must have a LogicalStage member, which DocumentSourceExtension does not. This class should be constructed when registering stages in DocumentSourceExtension if the stage is detected to be a source or transform stage.

            Assignee:
            Josh Siegel
            Reporter:
            Santiago Roche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: