There are additional cases where we cannot use an index to cover a null query when we have multiple clauses in $or or $in. We should make sure to add a FETCH stage above the index scan when the index scan bounds are not exact for the non-null part of the predicate, even if we can cover the null part of the query.
Restrict cases where isCoveredNullQuery can apply
- Assignee:
-
Alya Berciu
- Reporter:
-
Alya Berciu
- Votes:
-
0 Vote for this issue - Watchers:
-
10 Start watching this issue
- Created:
- Updated:
- Resolved: