Hi tianshuo!
By default, RAW measure is not set in sample cube.
You can try to update the cube and set RAW measure in sample cube and *rebuild cube*.
If not work! please share your cube descriptor like shaofeng said.

在 2016年06月20日 18:14, ShaoFeng Shi 写道:
could you please share your cube descriptor (JSON format)?

The decoding of the Raw measure happens in RawMeasureType.getAdvancedTupleFiller(), you can try to debug there.

在 2016年6月20日 下午5:27,赵天烁 <[email protected] <mailto:[email protected]>>写 道:

    我已经设置了seller_id是RAW类型的指标了,kylin版 本是1.5.2,hbase
    1.2,hadoop2.4,会不会是跟hbase的版本有关系?

    -----------------------------------------------------

    赵 天烁

    Kevin Zhao

    [email protected] <mailto:[email protected]>_

    珠海市魅族科技有限公司

    MEIZU Technology Co., Ltd.

    广东省珠海市科技创新海岸魅族科技楼

    MEIZU Tech Bldg., Technology & Innovation Coast

    Zhuhai, 519085, Guangdong, China

    meizu.com <http://meizu.com>

    *发件人:*赵天烁
    *发送时间:*2016年6月20日17:12
    *收件人:*[email protected] <mailto:[email protected]>
    *主题:*Hbase 查询结果的解析

    在查询build好 的sample cube时,发现seller_id字段的返回结果始终是
    空,其他字段都正 常,一开始怀疑是
    kylin.hbase.default.compression.codec设 置的问题,尝试了其他几个压
    缩算法,删除Hbase表 后重新build,都是一样的结果。

    现在想找找看将hbase查 询结果解压缩成维度指标值的那段代码,我指定位
    到了这里,但是这段似乎decompress出来的也是一个字节数组,我想看到提
    取seller_id对应的值的那段代码,谁知道是在哪儿吗?

    -----------------------------------------------------

    赵 天烁

    Kevin Zhao

    [email protected] <mailto:[email protected]>_

    珠海市魅族科技有限公司

    MEIZU Technology Co., Ltd.

    广东省珠海市科技创新海岸魅族科技楼

    MEIZU Tech Bldg., Technology & Innovation Coast

    Zhuhai, 519085, Guangdong, China

    meizu.com <http://meizu.com>




--
Best regards,

Shaofeng Shi

Reply via email to