Move aggregation pipeline desugaring from ::create() into separate method

XMLWordPrintableJSON

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

      There is no way to get pipeline exactly as it comes from the user which sometimes causes troubles like e.g. in SERVER-78914.  It would be better if some trivial rewrites that precede `::optimize()` call would be done not in `::create()` but in a separate method to avoid confusion and unnecessary restrictions like "no random internal field names". 

            Assignee:
            Unassigned
            Reporter:
            Serhii Lysenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: