kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yifei Wu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KYLIN-3385) when the cube contain sum(1) measure, tables in "Query" page cannot be load
Date Fri, 25 May 2018 02:18:00 GMT

    [ https://issues.apache.org/jira/browse/KYLIN-3385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16490128#comment-16490128
] 

Yifei Wu commented on KYLIN-3385:
---------------------------------

according to my analysis, the root cause is that org.apache.kylin.metadata.model.FunctionDesc#getRewriteFieldType
don't deal with the case, so when load tables here will throw an exception.

> when the cube contain sum(1) measure, tables in "Query" page cannot be load
> ---------------------------------------------------------------------------
>
>                 Key: KYLIN-3385
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3385
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Yifei Wu
>            Assignee: Yifei Wu
>            Priority: Major
>
> In the current version,  the sum(1), equals with count(*) actually, is allowed to add
to cube Measures.
> However, if you add, it will cause some errors, such as tables in "Query" page cannot
be load and the query like this cannot run.
> {code:java}
> select sum(1) from kylin_fact
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message