-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Execution
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.
- is related to
-
SERVER-49839 Implement AlwaysFalse and AlwaysTrue match expressions in SBE
- Closed