没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Quick Start with Sample Cube
Kylin provides a script for you to create a sample Cube; the script will also create three sample hive
tables:
Run ${KYLIN_HOME}/bin/sample.sh ; Restart kylin server to flush the caches;
1.
Logon Kylin web, select project “learn_kylin”;
2.
Select the sample cube “kylin_sales_cube”, click “Actions” -> “Build”, pick up a date later than
2014-01-01 (to cover all 10000 sample records);
3.
Check the build progress in “Jobs” tab, until 100%;
4.
Execute SQLs in the “Query” tab, for example:
select part_dt, sum(price) as total_selled, count(distinct seller_id) as sellers from kylin_sales group by
part_dt order by part_dt
5.
You can verify the query result and compare the response time with hive;
6.
What’s next
After cube being built, please refer to other document of this tutorial for more detail information.
Kylin Cube Creation
I. Create a Project
Go to
Query
page in top menu bar, then click
Manage Projects
.
1.
Click the
+ Project
button to add a new project.
2.
Fulfill the following form and click
submit
button to send a request.
3.
After success, there will be a notification show in the bottom.
4.
II. Sync up a Table
Click
Tables
in top bar and then click the
+ Sync
button to load hive table metadata.
1.
Enter the table names and click
Sync
to send a request.
2.
III. Create a Cube
To start with, click
Cubes
in top bar.Then click
+Cube
button to enter the cube designer page.
Step1.CubeInfo
Fill up the basic information of the cube. Click
Next
to enter the next step.
You can use letters, numbers and ‘_’ to name your cube (Notice that space in name is not allowed).
Step2.Dimensions
Set up the fact table.
1.
剩余80页未读,继续阅读
资源评论
小风0092
- 粉丝: 1
- 资源: 31
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功