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

aggregation: treat undefined values the same as null values

    • ALL

      $group currently doesn't allow for the grouping key to be undefined. The attached script demonstrates the problem, yielding this error for the last two cases:

      {
      "errmsg" : "exception: the _id field for a group must not be undefined",
      "code" : 15956,
      "ok" : 0
      }

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            cwestin Chris Westin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: