Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
RexSimplify and RexProgram optimize expressions like A() = A() to true, but if A() is a non-deterministic expression, this optimization is invalid. Change RexSimplify and RexProgram to check if expression is deterministic or not, in order to decide about the optimization.
Attachments
Issue Links
- is related to
-
CALCITE-4424 Complete non-deterministic function in SqlFunction
- Open
-
CALCITE-2736 ReduceExpressionsRule never reduces dynamic expressions but this should be configurable
- Closed