[ https://issues.apache.org/jira/browse/KYLIN-5521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17720128#comment-17720128 ]
ASF subversion and git services commented on KYLIN-5521: -------------------------------------------------------- Commit 625c4b6c7e86aa8402e450c085f8332b0f5fc8b2 in kylin's branch refs/heads/kylin5 from Jiale He [ https://gitbox.apache.org/repos/asf?p=kylin.git;h=625c4b6c7e ] KYLIN-5521 [FOLLOW UP] Fix JoinsGraph toString method StackOverFlow > JoinsGraph optimization: Query SQL association order change causes the model > to fail to hit > ------------------------------------------------------------------------------------------- > > Key: KYLIN-5521 > URL: https://issues.apache.org/jira/browse/KYLIN-5521 > Project: Kylin > Issue Type: Bug > Components: Query Engine > Affects Versions: 5.0-alpha > Reporter: Yaguang Jia > Assignee: Yaguang Jia > Priority: Major > Fix For: 5.0-beta > > Attachments: (Chinese)KYLIN-5521 JoinsGraph optimization_ Query SQL > association order change causes the model to fail to hit.pdf, > (English)KYLIN-5521 JoinsGraph optimization_ Query SQL association order > change causes the model to fail to hit.pdf > > > In the log, the following two query statements, only the order of the > association of the first 2 tables is changed (the actual logical relationship > has not changed), resulting in the query statement can not be hit by the same > index. When there are only 2 tables after from, the order of the replacement > table association can hit the same index. > > 日志中,以下两条查询语句,只是前面2张表的关联先后顺序换了一下(实际逻辑关系并未改变),导致查询语句不能被同一个索引击中。而当from后面只有2张表时,替换表关联的先后顺序是可以击中同一个索引的。 > -- This message was sent by Atlassian Jira (v8.20.10#820010)