Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Currently simplification concentrates on basic constructs (and/or/=/...), but if it encounters an UDF which is not known; the recursion is stopped.
For example the following expression is not simplified:
@Test public void testSimplifyRecurseIntoArithmetics() { checkSimplify( plus(literal(1), case_( falseLiteral, literal(1), trueLiteral, literal(2), literal(3))), "+(1, 2)"); }
Attachments
Issue Links
- is duplicated by
-
CALCITE-2862 Deprecating ExprSimplifier causes some operands not being simplified
- Closed
- links to