You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2017/06/22 06:06:00 UTC

[jira] [Created] (KYLIN-2679) Report error when a dimension using "dict" encoding and also configured Global dictionary for "distinct_count" measure

Shaofeng SHI created KYLIN-2679:
-----------------------------------

             Summary: 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


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
(v6.4.14#64029)

Re: [jira] [Created] (KYLIN-2679) Report error when a dimension using "dict" encoding and also configured Global dictionary for "distinct_count" measure

Posted by ShaoFeng Shi <sh...@apache.org>.
Global dict couldn't be used for Dimension encoding.

2017-06-23 15:52 GMT+08:00 Alberto Ramón <a....@gmail.com>:

> Global dict can be used for Dim now? or only for measures
>
> On 22 June 2017 at 07:06, Shaofeng SHI (JIRA) <ji...@apache.org> wrote:
>
> > Shaofeng SHI created KYLIN-2679:
> > -----------------------------------
> >
> >              Summary: 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
> >
> >
> > 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
> > (v6.4.14#64029)
> >
>



-- 
Best regards,

Shaofeng Shi 史少锋

Re: [jira] [Created] (KYLIN-2679) Report error when a dimension using "dict" encoding and also configured Global dictionary for "distinct_count" measure

Posted by Alberto Ramón <a....@gmail.com>.
Global dict can be used for Dim now? or only for measures

On 22 June 2017 at 07:06, Shaofeng SHI (JIRA) <ji...@apache.org> wrote:

> Shaofeng SHI created KYLIN-2679:
> -----------------------------------
>
>              Summary: 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
>
>
> 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
> (v6.4.14#64029)
>