You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2019/04/07 13:05:00 UTC
[jira] [Updated] (KYLIN-3902) NoRealizationFoundException due to
creating a wrong JoinDesc
[ https://issues.apache.org/jira/browse/KYLIN-3902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shaofeng SHI updated KYLIN-3902:
--------------------------------
Fix Version/s: v3.0.0-alpha
> NoRealizationFoundException due to creating a wrong JoinDesc
> ------------------------------------------------------------
>
> Key: KYLIN-3902
> URL: https://issues.apache.org/jira/browse/KYLIN-3902
> Project: Kylin
> Issue Type: Bug
> Components: Query Engine
> Reporter: Zhong Yanghong
> Assignee: Zhong Yanghong
> Priority: Major
> Fix For: v3.0.0, v3.0.0-alpha
>
>
> When joining with a lookup table, a column from fact table is used more than once, the JoinDesc will not be correctly generated in *OLAPJoinRel*, causing NoRealizationFoundException. Multimap should be used instead of Map.
> Sample Join:
> {code}
> select LSTG_FORMAT_NAME, count(*)
> FROM TEST_KYLIN_FACT
> INNER JOIN EDW.TEST_CAL_DT as TEST_CAL_DT
> ON TEST_KYLIN_FACT.CAL_DT = TEST_CAL_DT.CAL_DT AND TEST_KYLIN_FACT.CAL_DT = TEST_CAL_DT.WEEK_BEG_DT
> group by LSTG_FORMAT_NAME
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)