Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.)
Attachments
Issue Links
- is related to
-
CALCITE-4159 RexSimplify should simplify more always true OR expressions
- Closed