Add preserveNull and preserveEmptyArrays as $unwind options

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Incomplete
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
              Reporter:
              Patrick Meredith
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: