yep, that's what I mean.
so would kylin api consider this scene in the future, or this requirement itself is not reasonable? ------------------ 李寅威 | CVTE [email protected] 广州视源电子科技股份有限公司 Guangzhou Shiyuan Electronics Co., Ltd. ------------------ 原始邮件 ------------------ 发件人: "mahongbin";<[email protected]>; 发送时间: 2016年6月16日(星期四) 上午9:49 收件人: "李寅威"<[email protected]>; 抄送: "dev"<[email protected]>; 主题: Re: some doubt about hierarchy dimension in kylin 1.5+ date dimension does not exist at all, it's just a logical "dimension" consists of three related dimensions: year,month,day how can you get "date" in the json when you didn't input "date" while creating cube? On Thu, Jun 16, 2016 at 8:44 AM, 251469031 <[email protected]> wrote: > @Hongbin Ma > > sorry about that. > > the second question, e.g. I have a dimension named date, and its levels > are year, month and day, I want to display the hierarchy with > indentation to the endusers like this: > > date > --year > --month > --day > > The problem is, I can't get the name "date" from kylin API. Looking > forward to your help, thx~ > > > ------------------ 原始邮件 ------------------ > *发件人:* "hongbin ma";<[email protected]>; > *发送时间:* 2016年6月15日(星期三) 晚上10:14 > *收件人:* "dev"<[email protected]>; > *主题:* Re: some doubt about hierarchy dimension in kylin 1.5+ > > 1. use normal dimension here. the hierachy relationship is later defined in > "aggregation group" > 2. actually I don't quite understand your question. if you're asking how to > get the hierachy relationship from the json, take a look > at aggregation_groups => select_rule => hierarchy_dims > > > -- > Regards, > > *Bin Mahone | 马洪宾* > Apache Kylin: http://kylin.io > Github: https://github.com/binmahone > > -- Regards, *Bin Mahone | 马洪宾* Apache Kylin: http://kylin.io Github: https://github.com/binmahone
