[jira] [Created] (CALCITE-2296) Extra logic to derive additional filters from for FilterJoinRule

2018-05-02 Thread Vitalii Diravka (JIRA)
Vitalii Diravka created CALCITE-2296: Summary: Extra logic to derive additional filters from for FilterJoinRule Key: CALCITE-2296 URL: https://issues.apache.org/jira/browse/CALCITE-2296 Project

Re: Derive Additional Filters

2018-04-27 Thread Julian Hyde
that will need to propagate those predicates. > On Apr 27, 2018, at 4:30 AM, Zhong Yu wrote: > > In org.apache.calcite.rel.rules.FilterJoinRule, > there's the following comment > > // TODO - add logic to derive additional filters. E.g., from > // (t1.a = 1 AND t2

Derive Additional Filters

2018-04-27 Thread Zhong Yu
In org.apache.calcite.rel.rules.FilterJoinRule, there's the following comment // TODO - add logic to derive additional filters. E.g., from // (t1.a = 1 AND t2.a = 2) OR (t1.b = 3 AND t2.b = 4), you can // derive table filters: // (t1.a = 1 OR t1.b = 3) // (t2.a = 2 OR t2.