[
https://issues.apache.org/jira/browse/KYLIN-1790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15333120#comment-15333120
]
Vic Wang commented on KYLIN-1790:
---------------------------------
Metadata before upgraded:
"aggregation_groups" : [ [ "MONTH_BEG_DT", "USER_CNTRY_SITE_CD",
"RPRTD_SGMNT_VAL", "PRMRY_BID_CTGRY_PRVS_3M_TXT", "REACTVD_BYR_YN_IND",
"FM_BYR_SGMNTN_DESC", "DEVICE_DMNN_SGMNTN_DESC", "GUEST_YN_IND",
"ATTDNL_BUYER_SGMNTN_DESC", "BUYER_WHO_SELL_YN_IND" ], [ "RPRTD_IND",
"SRVY_TYPE_ID", "QSTN_ID", "L1_L2_IND", "PRNT_L1_ID", "BYR_SLR_QSTN_IND",
"TRANCHE_ID" ] ]
},
> 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)