You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/12/15 07:55:00 UTC

[jira] [Commented] (KYLIN-3720) add column family check when save/update cube desc

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

ASF GitHub Bot commented on KYLIN-3720:
---------------------------------------

wangbo opened a new pull request #394: KYLIN-3720 add column family check when save/update cube desc
URL: https://github.com/apache/kylin/pull/394
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> add column family check when save/update cube desc
> --------------------------------------------------
>
>                 Key: KYLIN-3720
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3720
>             Project: Kylin
>          Issue Type: Improvement
>            Reporter: WangBo
>            Assignee: WangBo
>            Priority: Major
>
> when update or create cube desc by editing json,it may cause query failed when the input column  of column family is invalid.So checking user input column with columns defined in cube desc can aovid it.
> {code:java}
> // query failed error
> Caused by: java.lang.IllegalStateException
>         at org.apache.kylin.gridtable.GTInfo.validateColumnBlocks(GTInfo.java:198)
>         at org.apache.kylin.gridtable.GTInfo.validate(GTInfo.java:167)
>         at org.apache.kylin.gridtable.GTInfo$Builder.build(GTInfo.java:269)
>         at org.apache.kylin.cube.gridtable.CubeGridTable.newGTInfo(CubeGridTable.java:35)
>         at org.apache.kylin.storage.gtrecord.CubeScanRangePlanner.<init>(CubeScanRangePlanner.java:89)
>         at org.apache.kylin.storage.gtrecord.CubeSegmentScanner.<init>(CubeSegmentScanner.java:73)
>         at org.apache.kylin.storage.gtrecord.GTCubeStorageQueryBase.search(GTCubeStorageQueryBase.java:89)
>         at org.apache.kylin.query.enumerator.OLAPEnumerator.queryStorage(OLAPEnumerator.java:120)
>         at org.apache.kylin.query.enumerator.OLAPEnumerator.moveNext(OLAPEnumerator.java:64){code}
>  
>  



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