[ 
https://issues.apache.org/jira/browse/CALCITE-5872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17747043#comment-17747043
 ] 

Alessandro Solimando edited comment on CALCITE-5872 at 7/25/23 3:17 PM:
------------------------------------------------------------------------

[~grandfisher], can you add to the description an example of schema, SQL query, 
and relevant plans to illustrate the problem more clearly?

In the past I have worked on a similar issue, the root cause wasn't in theĀ 
_JoinPushTransitivePredicatesRule,_ but __ in a rule equivalent to 
[_JoinDeriveIsNotNullFilterRule_|https://github.com/apache/calcite/blob/main/core/src/main/java/org/apache/calcite/rel/rules/JoinDeriveIsNotNullFilterRule.java]
 which was creating the filter although an equivalent one was already there.


was (Author: asolimando):
[~grandfisher], can you add to the description an example of schema, SQL query, 
and relevant plans to illustrate the problem more clearly?

> JoinPushTransitivePredicatesRule will repeatedly insert the condition "is not 
> null"
> -----------------------------------------------------------------------------------
>
>                 Key: CALCITE-5872
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5872
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: grandfisher
>            Priority: Major
>
> JoinPushTransitivePredicatesRule will repeatedly insert the condition "is not 
> null" and will always optimize by `VolcanoPlanner`



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to