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

[jira] [Created] (CALCITE-3794) Return directly if there is no pulled up predicate

Chunwei Lei created CALCITE-3794:
------------------------------------

             Summary: Return directly if there is no pulled up predicate
                 Key: CALCITE-3794
                 URL: https://issues.apache.org/jira/browse/CALCITE-3794
             Project: Calcite
          Issue Type: Improvement
          Components: core
    Affects Versions: 1.21.0
            Reporter: Chunwei Lei
            Assignee: Chunwei Lei
             Fix For: 1.22.0


If there is no pulled up predicates, it can not simplify anything in {{simplifyUsingPredicates}}[1]. So it'd better return directly to reduce overhead.

[1][https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/rex/RexSimplify.java#L1572-L1586]



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