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

Remove "no facet" constraint from $_internalUnpackBucket stage

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • ALL

      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:
            nishith.atreya@mongodb.com Nishith Atreya
            Reporter:
            chris.wolff@mongodb.com Chris Wolff
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: