[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JoinPushThroughJoinRule and JoinAssociateRule in calcite

According to my testing, some join configurations are unreachable by
default rules, here is a bug about it with a possible cause suggestion:

On Tue, Nov 20, 2018 at 8:07 AM Wang, Ken <mingmwang@xxxxxxxx.invalid>

> 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 search space for Join ordering?
> And why we prefer use JoinPushThroughJoinRule instead of JoinAssociateRule?
> Thanks
> Ken

Best regards,