[
https://issues.apache.org/jira/browse/KYLIN-1790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15333261#comment-15333261
]
Vic Wang commented on KYLIN-1790:
---------------------------------
For example:
RowKeys: [A, B, C, D, E, F, G]
Two old aggr groups: [A, B, C, D] [E, F]
After upgrading:
Two new aggr groups [A, B, C, D, E, F, G], [E, F, G]
Joint: [E, F, G] [G]
The [G] joint throws exception, because "Aggregation group 1 require at least 2
dims in a joint"
> Metadata upgrade tool didn't handle aggregation group joint rule successfully
> -----------------------------------------------------------------------------
>
> Key: KYLIN-1790
> URL: https://issues.apache.org/jira/browse/KYLIN-1790
> Project: Kylin
> Issue Type: Bug
> Reporter: qianqiaoneng
> Assignee: Vic Wang
>
> If the total dimension is 10, and aggregation group number is 9. after the
> metadata upgrade, there would be a joint rule with 10-9=1 dimension. But this
> definition will cause
> java.lang.IllegalStateException: Aggregation group 0 require at least 2 dims
> in a joint
> Should change the upgrade logic not to add joint rule if dimension number is
> 1.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)