Details
-
Task
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Query Execution
Description
The query optimizer folds a lot of tautological/contradictory filters into simpler $alwaysTrue/$alwaysFalse statements before they ever make it to stage builder. So for plenty cases in the jstests, the stage builder will see a simple AlwaysFalseMatchExpression.
We want to add a unit test that directly constructs the MatchExpression without optimizing it.
Attachments
Issue Links
- is related to
-
SERVER-49839 Implement AlwaysFalse and AlwaysTrue match expressions in SBE
-
- Closed
-