-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
QO 2022-08-08
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
After https://jira.mongodb.org/browse/SERVER-67782, the server now hits this assertion when attempting to optimize the following query: `{a: {$gte: MinKey()}}` or `{a: {$lte: MaxKey()}}`.
The assertion maintains the invariant that every PartialSchemaRequirement either has an output binding or is not fully open (constraints the input field in some way). In the aforementioned queries, they have neither: filters have no output binding and the intervals are fully open. This PartialSchemaRequirement is not useful because it is a no-op.
After a discussion with svilen.mihaylov@mongodb.com, we decided keeping this invariant is useful in order to reduce the Cascades search space. This ticket tracks work to prune fully open PartialSchemaRequirements and avoid creating Sargeable nodes for them.
- is depended on by
-
SERVER-67624 [CQF] Fix ABT translations for match expressions against MinKey and MaxKey
-
- Closed
-