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

Remove "no facet" constraint from $_internalUnpackBucket stage

    • Query Integration
    • Fully Compatible
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently the bucket unpack stage does has a constraint that does not allow it to appear inside of a $facet stage, e.g., if it contains a $lookup. This was never the intended design and appears to just be an oversight.

      We should remove this constraint and add a test showing that such a query works right.

            Assignee:
            lee.maguire@mongodb.com Lee Maguire
            Reporter:
            chris.wolff@mongodb.com Chris Wolff
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None