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

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

WangBo created KYLIN-3720:
-----------------------------

             Summary: 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


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)