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]>写道: > 我已经设置了seller_id是RAW类型的指标了,kylin版本是1.5.2,hbase 1.2,hadoop2.4,会不会是跟hbase > 的版本有关系? > > > > ----------------------------------------------------- > > > > 赵天烁 > > Kevin Zhao > > *[email protected] <[email protected]>* > > > > 珠海市魅族科技有限公司 > > MEIZU Technology Co., Ltd. > > 广东省珠海市科技创新海岸魅族科技楼 > > MEIZU Tech Bldg., Technology & Innovation Coast > > Zhuhai, 519085, Guangdong, China > > > > > > meizu.com > > > > > > > > > > *发件人:* 赵天烁 > *发送时间:* 2016年6月20日 17:12 > *收件人:* [email protected] > *主题:* Hbase 查询结果的解析 > > > > 在查询build好的sample cube时,发现seller_id字段的返回结果始终是空,其他字段都正常,一开始怀疑是 > kylin.hbase.default.compression.codec设置的问题,尝试了其他几个压缩算法,删除Hbase表后重新build > ,都是一样的结果。 > > > > > > 现在想找找看将hbase查询结果解压缩成维度指标值的那段代码,我指定位到了这里,但是这段似乎decompress出来的也是一个字节数组,我想看到提取 > seller_id对应的值的那段代码,谁知道是在哪儿吗? > > ----------------------------------------------------- > > > > 赵天烁 > > Kevin Zhao > > *[email protected] <[email protected]>* > > > > 珠海市魅族科技有限公司 > > MEIZU Technology Co., Ltd. > > 广东省珠海市科技创新海岸魅族科技楼 > > MEIZU Tech Bldg., Technology & Innovation Coast > > Zhuhai, 519085, Guangdong, China > > > > > > meizu.com > > > > > > > > > -- Best regards, Shaofeng Shi
