[
https://issues.apache.org/jira/browse/KYLIN-2679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16343284#comment-16343284
]
kangkaisen commented on KYLIN-2679:
-----------------------------------
I will resolve this issue in KYLIN-3205.we should allow one column is used for
both dimension and precisely count distinct measure, as long as the dimension
encoding is not dict.
> Report error when a dimension using "dict" encoding and also configured
> Global dictionary for "distinct_count" measure
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: KYLIN-2679
> URL: https://issues.apache.org/jira/browse/KYLIN-2679
> Project: Kylin
> Issue Type: Bug
> Components: Metadata, Query Engine
> Reporter: Shaofeng SHI
> Priority: Major
> Labels: scope
>
> This is a problem reported by community user Sonny Heer:
> After finally getting the global dictionary to work with building the cube
> there are now exceptions during query.
> ERROR in query: "AppendTrieDictionary can't retrive value from id"
> The cube has a UHC dimension, which also appeared in a count distinct
> measure. Then a global dictionary is created for it, but Global dictionary
> doesn't support decoding, then there is such an error during query time.
> While this wasn't even checked when the cube is created.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)