Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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:
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
Attachments
Issue Links
- links to