Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-89569

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

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

      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 Unassigned
            Reporter:
            serhii.lysenko@mongodb.com Serhii Lysenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: