This is an automated email from the ASF dual-hosted git repository. xxyu pushed a commit to branch document in repository https://gitbox.apache.org/repos/asf/kylin.git
commit 0ed60fa8a4fd14dd5023c2071bae87bfcce6960f Author: xuekaiqi <[email protected]> AuthorDate: Thu Nov 12 14:43:14 2020 +0800 update some copywritings --- website/_docs/howto/sample_dataset.cn.md | 4 +--- website/_docs/howto/sample_dataset.md | 8 +++----- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/website/_docs/howto/sample_dataset.cn.md b/website/_docs/howto/sample_dataset.cn.md index d974d38..df37cc7 100644 --- a/website/_docs/howto/sample_dataset.cn.md +++ b/website/_docs/howto/sample_dataset.cn.md @@ -5,8 +5,6 @@ categories: howto permalink: /cn/docs/howto/sample_dataset.html --- -# 样例数据集 - Kylin 的二进制包中包含了一份样例数据集,共计 5 张表,其中事实表有 10000 条数据。用户可以在 Kylin 部署完成后,利用样例数据集进行测试。用户可通过执行脚本方式,将 Kylin 中自带的样例数据导入至 Hive。 ### 将样例数据集导入至 Hive @@ -19,7 +17,7 @@ $KYLIN_HOME/bin/sample.sh 脚本执行成功之后,可在服务器终端执行 **hive** 命令行,进入 hive,然后执行查询语句验证导入正常: -```she +```sh hive ``` diff --git a/website/_docs/howto/sample_dataset.md b/website/_docs/howto/sample_dataset.md index e8726bb..3c3a51d 100644 --- a/website/_docs/howto/sample_dataset.md +++ b/website/_docs/howto/sample_dataset.md @@ -5,13 +5,11 @@ categories: tutorial permalink: /docs/howto/sample_dataset.html --- -## Sample Dataset - Kylin binary package contains a sample dataset for testing. It consists of five tables, including the fact table which has 10,000 rows. Because of the small data size, it is convenient to carry out as a test in the virtual machine. You can import the Kylin built-in sample data into Hive using executable script. ### Import Sample Dataset into Hive -The script is `sample.sh`. Its default storage path is the bin directory under `$KYLIN_HOME/bin` +The script is `sample.sh`. you can find it under `$KYLIN_HOME/bin`. ```sh $KYLIN_HOME/bin/sample.sh @@ -19,7 +17,7 @@ $KYLIN_HOME/bin/sample.sh Once the script is complete, execute the following commands to enter Hive. Then you can confirm whether the tables are imported successfully. -```she +```sh hive ``` @@ -49,7 +47,7 @@ The five tables together constitute the structure of the entire snowflake data m ### Data Dictionary -The tables generated by the script `sample.sh` contains many columns. Below, we will introduce some key columns which are focus on the columns defined as dimensions in the model `kylin_sales_models` of the sample project `learn_kylin`. +The generated hive tables contains too many columns which may confused you. So the following tables will list some key columns which referred in Kylin's Model/Cube, and describe the underlying business meaning of them. | Table | Field | Description | | :----------------------- | :------------------- | :------------------------------- |
