-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
ALL
-
The following repro leads to the error "Failed to optimize pipeline :: caused by :: unknown operator: $alwaysFalse", despite being a valid agg pipeline.
I've noticed a $project/$addFields is required to repro, followed by an $or predicate and an always false $elemMatch predicate
- related to
-
SERVER-70477 Optimizing expressions that are tautologically constant (e.g., `True` or `False`)
-
- Closed
-