|NO.Z.00005|——————————|BigDataEnd|——|Hadoop&OLAP_Kylin.V05|——|Kylin.v05|Kylin构建Cube|按日期维度构建cube.V2|

一、按日期维度构建cube:
### --- 按日期维度构建cube:

~~~     创建项目(Project)
~~~     输入项目名称
二、创建数据源
### --- 创建数据源

~~~     创建数据源(DataSource)
三、创建模型(Model)选择new model
### --- 创建模型(Model)选择new model

~~~     选择New Model
~~~     指定模型名称
~~~     选择事实表
~~~     选择维度
~~~     指定度量
~~~     指定分区和过滤条件
~~~     创建的模型Models
四、创建立方体(Cube)
### --- 创建立方体(Cube)

~~~     新建Cube
~~~     选择数据模型&给定Cube名称
~~~     指定维度
~~~     指定度量
~~~     指定刷新设置
~~~     高级设置
~~~     配置覆盖
~~~     概述
五、执行构建(Build)
### --- 执行构建(Build)

~~~     执行构建cube
~~~     监控状态
~~~     等待cube构建完成
~~~     等待cube构建完成
六、执行SQL语句分析
### --- 执行sql
### --- 执行SQL流程

~~~     # 在Insight:New Query选项卡中,执行以下SQL语句:
select date1,
sum(price) as total_money,
sum(amount) as total_amount
from dw_sales
group by date1;

 
 
 
 
 
 
 
 
 

Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of life.It sinks, and I am ready to depart
                                                                                                                                                   ——W.S.Landor

 

posted on   yanqi_vip  阅读(20)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示