You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Chunwei Lei (Jira)" <ji...@apache.org> on 2020/02/20 14:56:00 UTC

[jira] [Created] (CALCITE-3809) RexSimplify simplifies nondeterministic function incorrectly

Chunwei Lei created CALCITE-3809:
------------------------------------

             Summary: RexSimplify simplifies nondeterministic function incorrectly
                 Key: CALCITE-3809
                 URL: https://issues.apache.org/jira/browse/CALCITE-3809
             Project: Calcite
          Issue Type: Bug
          Components: core
    Affects Versions: 1.21.0
            Reporter: Chunwei Lei
            Assignee: Chunwei Lei
             Fix For: 1.22.0


For example, {{rand() = rand()}} will be simplified it to {{IS NOT NULL(rand())}}, which is wrong because {{rand() = rand()}} might be false while {{IS NOT NULL(rand())}} is always true.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)