You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kylin.apache.org by 仇同心 <qi...@jd.com> on 2016/11/21 03:07:18 UTC
Consulting "Define data model"
Hi ,all
In this article at http://kylin.apache.org/docs16/tutorial/cube_streaming.html, I have learned that Streaming Cube must be partitioned; If you’re going to build the Cube incrementally at minutes level, select “MINUTE_START” as the cube’s partition date column. If at hours level, select “HOUR_START”.
In the Setting page of Model of the Designer, I have a little confused: “Date Format” and “Has a separate "time of the day" column” , these two options is useless?
Because when the model has been edited, “Partition Date Column” can only be edited.
Thanks!
答复: Consulting "Define data model"
Posted by 仇同心 <qi...@jd.com>.
Thanks~
发件人: ShaoFeng Shi [mailto:shaofengshi@apache.org]
发送时间: 2016年11月21日 11:34
收件人: user
抄送: dev@kylin.apache.org
主题: Re: Consulting "Define data model"
The date format on "Data model" page is mainly for generating the HQL for pulling data from hive. For a stream cube, the "MINUTE_START", "HOUR_START" (and other derived date columns) are transformed by Kylin to standard "timestamp" type; Then the date format on "Data model" page is useless in this case.
2016-11-21 11:07 GMT+08:00 仇同心 <qi...@jd.com>>:
Hi ,all
In this article at http://kylin.apache.org/docs16/tutorial/cube_streaming.html, I have learned that Streaming Cube must be partitioned; If you’re going to build the Cube incrementally at minutes level, select “MINUTE_START” as the cube’s partition date column. If at hours level, select “HOUR_START”.
In the Setting page of Model of the Designer, I have a little confused: “Date Format” and “Has a separate "time of the day" column” , these two options is useless?
Because when the model has been edited, “Partition Date Column” can only be edited.
Thanks!
--
Best regards,
Shaofeng Shi 史少锋
答复: Consulting "Define data model"
Posted by 仇同心 <qi...@jd.com>.
Thanks~
发件人: ShaoFeng Shi [mailto:shaofengshi@apache.org]
发送时间: 2016年11月21日 11:34
收件人: user
抄送: dev@kylin.apache.org
主题: Re: Consulting "Define data model"
The date format on "Data model" page is mainly for generating the HQL for pulling data from hive. For a stream cube, the "MINUTE_START", "HOUR_START" (and other derived date columns) are transformed by Kylin to standard "timestamp" type; Then the date format on "Data model" page is useless in this case.
2016-11-21 11:07 GMT+08:00 仇同心 <qi...@jd.com>>:
Hi ,all
In this article at http://kylin.apache.org/docs16/tutorial/cube_streaming.html, I have learned that Streaming Cube must be partitioned; If you’re going to build the Cube incrementally at minutes level, select “MINUTE_START” as the cube’s partition date column. If at hours level, select “HOUR_START”.
In the Setting page of Model of the Designer, I have a little confused: “Date Format” and “Has a separate "time of the day" column” , these two options is useless?
Because when the model has been edited, “Partition Date Column” can only be edited.
Thanks!
--
Best regards,
Shaofeng Shi 史少锋
Re: Consulting "Define data model"
Posted by ShaoFeng Shi <sh...@apache.org>.
The date format on "Data model" page is mainly for generating the HQL for
pulling data from hive. For a stream cube, the "MINUTE_START", "HOUR_START"
(and other derived date columns) are transformed by Kylin to standard
"timestamp" type; Then the date format on "Data model" page is useless in
this case.
2016-11-21 11:07 GMT+08:00 仇同心 <qi...@jd.com>:
> Hi ,all
>
> In this article at http://kylin.apache.org/docs16/tutorial/cube_
> streaming.html, I have learned that Streaming Cube must be partitioned;
> If you’re going to build the Cube incrementally at minutes level, select
> “MINUTE_START” as the cube’s partition date column. If at hours level,
> select “HOUR_START”.
>
> In the Setting page of Model of the Designer, I have a little confused:
> “Date Format” and “Has a separate "time of the day" column” , these two
> options is useless?
>
> Because when the model has been edited, “*Partition Date Column*” can
> only be edited.
>
>
>
>
>
> Thanks!
>
--
Best regards,
Shaofeng Shi 史少锋
Re: Consulting "Define data model"
Posted by ShaoFeng Shi <sh...@apache.org>.
The date format on "Data model" page is mainly for generating the HQL for
pulling data from hive. For a stream cube, the "MINUTE_START", "HOUR_START"
(and other derived date columns) are transformed by Kylin to standard
"timestamp" type; Then the date format on "Data model" page is useless in
this case.
2016-11-21 11:07 GMT+08:00 仇同心 <qi...@jd.com>:
> Hi ,all
>
> In this article at http://kylin.apache.org/docs16/tutorial/cube_
> streaming.html, I have learned that Streaming Cube must be partitioned;
> If you’re going to build the Cube incrementally at minutes level, select
> “MINUTE_START” as the cube’s partition date column. If at hours level,
> select “HOUR_START”.
>
> In the Setting page of Model of the Designer, I have a little confused:
> “Date Format” and “Has a separate "time of the day" column” , these two
> options is useless?
>
> Because when the model has been edited, “*Partition Date Column*” can
> only be edited.
>
>
>
>
>
> Thanks!
>
--
Best regards,
Shaofeng Shi 史少锋