-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
QO 2024-06-24, QO 2024-07-08, QO 2024-07-22, QO 2024-08-05, QO 2024-08-19, QO 2024-09-02
A simple static rewrite we can always do, even in contexts where the boolean simplifier is not triggered, is optimizing $not + $alwaysTrue -> $alwaysFalse, and $not + alwaysFalse -> $alwaysTrue. This could be useful in triggering an EOF plan in some additional cases where it is safe to do so.