Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
RexSimplify is transforming
- OR(AND(>(999, $8), =($2, 'Franklin')), <(100, $8))
- to OR(=($2, 'Franklin'), <(100, $8))
the predicates are accumulated in simplifyOrTerms() but not discarded when iterating the second time
Attachments
Issue Links
- is caused by
-
CALCITE-2247 Simplify AND and OR conditions using predicates
- Closed
- is related to
-
CALCITE-4245 Expression reduction regression
- Open
- links to