-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
None
-
3
-
TBD
-
None
-
None
-
None
-
None
-
None
-
None
-
None
$type match expression is mapped to various intervals in indexed plans depending on the value of the predicate.
Implement the opposite transformation to match expression when possible.
In some cases there is no 1:1 mapping and we need to investigate which, if any, expression should be returned. Examples:
- [undefined, undefined] can be created from {$type: 6} and {"a": []} original expressions.
- [nan, inf] can be created from all numeric types: {$type: 16}, {$type: 18}, {$type: 19} and from $mod original expression.
- depends on
-
SERVER-104501 Create MatchExpressions from IntervalBounds to estimate RIDs via sampling
-
- Closed
-