Re: JoinPushThroughJoinRule and JoinAssociateRule in calcite

2018-11-20 Thread Anton Haidai
According to my testing, some join configurations are unreachable by default rules, here is a bug about it with a possible cause suggestion: https://issues.apache.org/jira/browse/CALCITE-2666 On Tue, Nov 20, 2018 at 8:07 AM Wang, Ken wrote: > Hi, Julian > > I’m reading Apache Calcite source

JoinPushThroughJoinRule and JoinAssociateRule in calcite

2018-11-19 Thread Wang, Ken
Hi, Julian I’m reading Apache Calcite source code. There are some rules for Join order enumeration: JoinPushThroughJoinRule, JoinCommuteRule and JoinAssociateRule. By default, JoinAssociateRule is disabled. Does JoinPushThroughJoinRule + JoinCommuteRule prove to be complete to generate all the