Make UnionWith and Lookup pass subpipelines of StageParams, rather than LPDS

XMLWordPrintableJSON

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

      Currently, we pass the resolved and desugared subpipeline for $unionWith/$graphLookup/$lookup through StageParams as a `boost::optional<OwnedLiteParsedPipeline>`. It would be ideal if StageParams did not have to rely on LPP or DocumentSource at all and was its own fully separate library.

      Once stages are fully migrated to StageParams, we should be able to conveniently just store `boost::optional<StageParamsPipeline>`, rather than LPDS, since StageParams is the lightweight version of describing "what is a stage" without having to go back and forth to BSON.

            Assignee:
            Finley Lau
            Reporter:
            Finley Lau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: