You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "liyang (JIRA)" <ji...@apache.org> on 2016/12/08 08:43:58 UTC

[jira] [Commented] (KYLIN-2237) Ensure dimensions and measures of model don't have null column

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

liyang commented on KYLIN-2237:
-------------------------------

[~zhongjian], you want to double check the JS part?  Java part is no problem.

And we'd better have a coding convention in the JS too.

> Ensure dimensions and measures of model don't have null column
> --------------------------------------------------------------
>
>                 Key: KYLIN-2237
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2237
>             Project: Kylin
>          Issue Type: Bug
>          Components: Metadata
>    Affects Versions: v1.5.4.1
>            Reporter: kangkaisen
>            Assignee: kangkaisen
>         Attachments: KYLIN-2237.patch
>
>
> currently, the dimensions or measures of model maybe have null column.
> like this: 
> u'dimensions': [{u'table': u'TEST.KYLIN_CAL_DT_KKS', u'columns': [u'CAL_DT', u'YEAR_BEG_DT', u'QTR_BEG_DT', None, u'DAY_OF_CAL_ID_KKS']}]
> which could be produced by the following steps:
> 1. rename the hive column in model dimensions or measures.
> 2. reload the hive table.
> 3. don't remove the null column because of carelessness and update the model.
> 4 edit the model again and could not select the dimensions or measures.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)