This is normal; If your query can be served by multiple cubes (both dimension and measure are matched), Kylin will just pick one to scan; while if they having different date range or filtering condition, the result might be different.
To avoid such issue, you'd better seperate the cubes to different projects, or build them with same date range and filtering condition. 在 2015年10月27日 下午4:46,奔跑的蜗牛 <[email protected]>写道: > Hi Team, > > 我们在同一个项目里面创建了2个CUBE。大个维度多一些,一个维度少一些,度量相同,源数据hive表相同。CUBE Jason > 文件见附件。维度和度量设计如下: > CUBE1: > CUBE2: > > 查询如下: > select sum(pv) > from vipdm.dm_log_traffic_analysis_day > where log_date = '2015-09-02' > and app_name ='XXX' > > CUBE1我们build了9月1号的数据,CUBE2build了9月1号 和9月2号的数据,在查询9月2号的数据的时候,无 > 返回数据,显示查询的cube为CUBE1。 > 请帮忙看下这种情况是否异常,还是我们在设计CUBE的时候不能这样设计。 > > 谢谢! > 学伟 > > > > > -- Best regards, Shaofeng Shi
