Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
3.4.9
-
None
-
ALL
-
Description
When using the distinct command targeting an indexed array field, which also happens to be empty, an additional `undefined` value is added to the result.
If there is no index on the field, it's correct - there is no `undefined` value in the result.
Attachments
Issue Links
- duplicates
-
SERVER-14832 Distinct command result set may include or exclude null/undefined depending on presence of index
-
- Needs Scheduling
-