Thank you for your reply!

       Our installation environment is HDP 3.1.0.0. 
And the dimension tables also can be updated. Is it this model and environment 
induce the problem? I will appreciate it very much if you konw the solution.







Best wishes,

Qiuying Mei



------------------ ???????? ------------------
??????:&nbsp;"Xiaoxiang Yu"<[email protected]&gt;;
????????:&nbsp;2019??11??14??(??????) ????3:02
??????:&nbsp;"[email protected]"<[email protected]&gt;;"??????"<[email protected]&gt;;

????:&nbsp;Re: ?????? The results return some fields empty. But when I tried in 
hive with the same query, I got what I wanted to get.



  
Hi friend,
 
&nbsp;&nbsp; Do you deploy you Kylin on Hadoop3 env like HDP3? And are your 
dimension table an ACID transaction table?
 
&nbsp;
  
----------------
 
Best wishes,
 
Xiaoxiang Yu 
 
 
&nbsp;
 
&nbsp;
  
??????: ?????? <[email protected]&gt;
 ????: "[email protected]" <[email protected]&gt;
 ????: 2019??11??13?? ?????? 19:19
 ??????: user <[email protected]&gt;
 ????: ?????? The results return some fields empty. But when I tried in hive 
with the same query, I got what I wanted to get.
 
  
&nbsp;
 
  
Firstly, thank you for your reply!
 
  
&nbsp;
 
  
In my cube, I have set SHOP_NAME as a derived dimension. And I also found that 
all normal dimensions can return correctly, but not all&nbsp; derived 
dimensions returned results.
 
  
&nbsp;
 
  

 
   
&nbsp;
 
  
&nbsp;
 
  
------------------ ????????&nbsp;------------------
 
   
??????:&nbsp;"Yaqian Zhang"<[email protected]&gt;;
 
  
????????:&nbsp;2019??11??13??(??????) ????6:39
 
  
??????:&nbsp;"user"<[email protected]&gt;;
 
  
????:&nbsp;Re: The results return some fields empty. But when I tried in hive 
with  the same query, I got what I wanted to get.
 
 
  
&nbsp;
 
 
Hi:
 
 Did you add SHOP_NAME to the dimension when you create cube? If not, kylin 
will not save the details of the original table when building the cube, and 
will return null when querying the column.
 
 &gt; ?? 2019??11??13????14:01???????? <[email protected]&gt; ??????
 &gt; 
 &gt; 1. Environment:
 &gt; kylin 2.6.3
 &gt; 
 &gt; 2. Question:
 &gt; 
 &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; In kylin Insight interface, I input 
query clause like this ??
 &gt; 
 &gt; select DATE_DIM."DATE", SHOP_DIM.SHOP_NAME,A.DISTRICT_ID,SUM(TOTALFEE) 
from DW_ERP_BY_SHOPSALE_FACT
 &gt; 
 &gt; inner join DATE_DIM
 &gt; 
 &gt; on
 &gt; 
 &gt; DW_ERP_BY_SHOPSALE_FACT.DATE_KEY = DATE_DIM.DATE_KEY
 &gt; 
 &gt; inner join TIME_DIM
 &gt; 
 &gt; on
 &gt; 
 &gt; DW_ERP_BY_SHOPSALE_FACT.TIME_KEY = TIME_DIM.TIME_KEY
 &gt; 
 &gt; inner join SHOP_DIM
 &gt; 
 &gt; on
 &gt; 
 &gt; DW_ERP_BY_SHOPSALE_FACT.SHOP_KEY=SHOP_DIM.SHOP_KEY
 &gt; 
 &gt; inner join ADMINISTRATIVE_DISTRICT A
 &gt; 
 &gt; on 
 &gt; 
 &gt; SHOP_DIM.AREAID=A.DISTRICT_ID
 &gt; 
 &gt; inner join ERP_BY_DEPARTMENT
 &gt; 
 &gt; on
 &gt; 
 &gt; SHOP_DIM.REGION=ERP_BY_DEPARTMENT.ID
 &gt; 
 &gt; GROUP BY DATE_DIM."DATE",SHOP_DIM.SHOP_NAME,A.DISTRICT_ID.
 &gt; 
 &gt;&nbsp; The results return some fields empty. But when I tried in hive with 
the same query, I got what I wanted to get.
 &gt; 
 &gt; 3. Please help me solve the quesiton if you have some solutions, thank 
you!
 &gt; 
 &gt; <[email protected]&gt;
 &gt; 
 &gt; 
 &gt; <[email protected]&gt;
 &gt; 
 &gt;

Reply via email to