You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Siddharth Teotia (JIRA)" <ji...@apache.org> on 2019/02/04 21:08:00 UTC

[jira] [Created] (CALCITE-2823) Prevent optimization of non-deterministic functions

Siddharth Teotia created CALCITE-2823:
-----------------------------------------

             Summary: Prevent optimization of non-deterministic functions
                 Key: CALCITE-2823
                 URL: https://issues.apache.org/jira/browse/CALCITE-2823
             Project: Calcite
          Issue Type: Bug
          Components: core
            Reporter: Siddharth Teotia
            Assignee: Julian Hyde


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)