You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by Luke Han <lu...@gmail.com> on 2015/03/21 07:15:26 UTC

Fwd: Cannot find rowkey

Forward to dev mailing list

在 2015年3月20日星期五 UTC-7下午10:54:02,futur...@gmail.com写道:
>
> when I do the join of two tables,there is a problem,such as the following:
>
> [http-bio-7070-exec-8]:[2015-03-18 
> 10:04:24,401][ERROR][org.apache.kylin.rest.controller.CubeController.saveCubeDesc(CubeController.java:333)] 
> - Failed to deal with the request.
> java.lang.IllegalArgumentException: Cannot find rowkey column OPEN_ORG in 
> cube CubeDesc [name=TEST_02]
>         at 
> org.apache.kylin.cube.model.RowKeyDesc.buildRowKey(RowKeyDesc.java:192)
>         at org.apache.kylin.cube.model.RowKeyDesc.init(RowKeyDesc.java:171)
>         at org.apache.kylin.cube.model.CubeDesc.init(CubeDesc.java:445)
>         at 
> org.apache.kylin.cube.CubeDescManager.createCubeDesc(CubeDescManager.java:150)
>         at 
> org.apache.kylin.rest.service.CubeService.createCubeAndDesc(CubeService.java:153)
>
>

Re: Cannot find rowkey

Posted by Li Yang <li...@apache.org>.
Seems the OPEN_ORG was not defined in dimension but used in rowkey. Is cube
created by GUI or by hand written JSON?

On Sat, Mar 21, 2015 at 2:15 PM, Luke Han <lu...@gmail.com> wrote:

> Forward to dev mailing list
>
> 在 2015年3月20日星期五 UTC-7下午10:54:02,futur...@gmail.com写道:
>>
>> when I do the join of two tables,there is a problem,such as the following:
>>
>> [http-bio-7070-exec-8]:[2015-03-18 10:04:24,401][ERROR][org.
>> apache.kylin.rest.controller.CubeController.saveCubeDesc(CubeController.java:333)]
>> - Failed to deal with the request.
>> java.lang.IllegalArgumentException: Cannot find rowkey column OPEN_ORG
>> in cube CubeDesc [name=TEST_02]
>>         at org.apache.kylin.cube.model.RowKeyDesc.buildRowKey(
>> RowKeyDesc.java:192)
>>         at org.apache.kylin.cube.model.RowKeyDesc.init(RowKeyDesc.
>> java:171)
>>         at org.apache.kylin.cube.model.CubeDesc.init(CubeDesc.java:445)
>>         at org.apache.kylin.cube.CubeDescManager.createCubeDesc(
>> CubeDescManager.java:150)
>>         at org.apache.kylin.rest.service.CubeService.createCubeAndDesc(
>> CubeService.java:153)
>>
>>