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

Change nested pipeline constraint error message

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

      Before SERVER-45620 we would allow a nested pipeline with an illegal stage. For example, $facet is not allowed in a $facet. However, we would allow $facet inside a $lookup inside a $facet. This is no longer allowed, but the error message is misleading – in the above example we would report "$lookup is not allowed in $facet". We should look into making the correct information available, or making the error message more generic.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            ted.tuckman@mongodb.com Ted Tuckman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: