Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3720

Add column family check when save/update cube desc

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • v2.6.0
    • None
    • None

    Description

      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.

      // 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)

       

       

      Attachments

        1. KYLIN-3720.patch
          4 kB
          WangBo

        Activity

          People

            506340561@qq.com WangBo
            506340561@qq.com WangBo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: