[
https://issues.apache.org/jira/browse/CALCITE-3794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chunwei Lei updated CALCITE-3794:
---------------------------------
Summary: RexSimplify should return early if there is no pulled up predicate
when simplifying using predicates (was: Return directly if there is no pulled
up predicate)
> RexSimplify should return early if there is no pulled up predicate when
> simplifying using predicates
> ----------------------------------------------------------------------------------------------------
>
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.22.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)