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

Add preserveNull and preserveEmptyArrays as $unwind options

    • Type: Icon: New Feature New Feature
    • Resolution: Incomplete
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None

      There are many cases in the BI-Connector (and presumably in customer usage) where the distinction between empty and null array fields in an $unwind must be distinguished, e.g., when mimicking SQL left joins using $unwinds.

      Adding these two options would allow for easy distinguishing. For the BI-Connector, we really only need preserveNull, but having the symmetric preserveEmptyArrays could utility.

            Assignee:
            asya.kamsky@mongodb.com Asya Kamsky
            Reporter:
            patrick.meredith@mongodb.com Patrick Meredith
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: