Details
-
Task
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
None
-
Query Optimization
Description
The Boolean simplifier always clones MatchExpressions when restoring expressions from their bitset representation. Given that once the simplified MatchExpression is materialized we drop the original one in favour of the simplified one, so we can avoid cloning/copying data, and moved it instead.
We should be careful here and remember that sometimes one node participates more than once in the expression.
Attachments
Issue Links
- split from
-
SERVER-75079 Simplify boolean expressions before feeding them to the optimizer
-
- Closed
-