-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.26.0
-
Component/s: None
-
Labels:None
Simplification of OR expressions incorrectly loses a term. For example,
(0 < a and a <= 10) or a is null or (8 < a and a < 12) or a >= 15
is simplified to
as is null or (0 < a and a <= 10) or (8 < a and a < 12)
(Moving a is null to the front is expected, but removing a >= 15 is wrong.)
- is related to
-
CALCITE-4159 RexSimplify should simplify more always true OR expressions
-
- Closed
-