-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
None
-
None
-
None
-
None
-
None
-
None
-
None
We added the MatchExpression filtering in SERVER-138067 before agg. expression narrowing.
Now we need to extend the logic to narrowType for Expression.
This means that for {$expr: {$and: [{$eq: ["$a", ..]}, {$eq: ["$b", ..]}, {$eq: ["$c", ..]}}, if we are only interested in 'a' we only narrow the type of 'a' and leave 'b' and 'c' unconstrained.
- is related to
-
SERVER-138067 Filter match expressions by path in narrowType
-
- Closed
-