[
https://issues.apache.org/jira/browse/KYLIN-1789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15332920#comment-15332920
]
Richard Calaba commented on KYLIN-1789:
---------------------------------------
Additional info - also obtained from Bhanu Mohanty - the reporter of the bug:
While looking into logs he saw a message:
Dup key found, key=[-289271615434074838,-7076210457049756771],
value1=[2016-03-24,-289271615434074838,-7076210457049756771,Medium,6,4,,null,null,null,null,null],
value2=[2016-03-24,-289271615434074838,-7076210457049756771,Medium,6,4,,null,null,null,null,null]
at org.apache.kylin.dict.lookup.LookupTable.initRow(LookupTable.java:83)
That would indicate that the Inner Join expected in the lookup table to find
only one record ... if this is true and the Inner Join on Lookup req. one
record that it is clear inconsistency (1st the model is defined as FACT INNER
JOIN LOOKUP ON key1, key2, ... so this has to allow multiple candidates in
lookup (even this is not typical) ; 2nd there is no reason why Left Outer join
would accept duplicate key entries in the Right operand and Inner join won't
allow it)
> Couldn't use View as Lookup when join type is "inner"
> -----------------------------------------------------
>
> Key: KYLIN-1789
> URL: https://issues.apache.org/jira/browse/KYLIN-1789
> Project: Kylin
> Issue Type: Bug
> Components: Job Engine
> Affects Versions: v1.5.2, v1.5.2.1
> Reporter: Shaofeng SHI
> Assignee: Shaofeng SHI
> Fix For: v1.5.3
>
>
> Reported by Bhanu Mohanty in user mailing list:
> I am using kylin-1.5.2.1
> Added hive view as a look up table
> Getting error at Build Dimension Dictionary
> DEFAULT.kylin_intermediate_DEFAULT_*
> If the join is "inner"
> It works when I changed the join to "left"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)