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

Change nested pipeline constraint error message

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Query Optimization

    Description

      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.

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            ted.tuckman@mongodb.com Ted Tuckman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: