You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Yang Hao (JIRA)" <ji...@apache.org> on 2017/11/22 11:30:01 UTC

[jira] [Comment Edited] (KYLIN-2974) joint group is Null lead to query error

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

Yang Hao edited comment on KYLIN-2974 at 11/22/17 11:29 AM:
------------------------------------------------------------

it may be caused by "kylin.cube.aggrgroup.is-mandatory-only-valid", for the default value is false. If there are many aggs in a cube, and one agg is full of the mandatory columns, then one query with all column in the agg, it will trigger the error


was (Author: yanghaogn):
it may be caused by "kylin.cube.aggrgroup.is-mandatory-only-valid", for the default value is false. If there are many aggs in a cube, and one agg is full of the mandatory columns, then one query with all column in the agg, it may trigger the error

> joint group is Null lead to query error
> ---------------------------------------
>
>                 Key: KYLIN-2974
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2974
>             Project: Kylin
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: v2.1.0
>            Reporter: Yang Hao
>            Assignee: Yang Hao
>         Attachments: KYLIN-2974.patch
>
>
> When query a sql, it turns to find all possible aggregation group. But it may cause error when the joint group is empty. Relevant code is
> {code:java}
> cuboidID = cuboidID | Collections.min(agg.getJoints(), cuboidSelectComparator);
> {code}
> In our env, when we have multiple aggregation groups, it may trigger the error



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)