This is an automated email from the ASF dual-hosted git repository.

shaofengshi pushed a commit to branch document
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/document by this push:
     new 0f28a67  Update document (#588)
0f28a67 is described below

commit 0f28a679e1ae635442a213cff3f0560f32779da5
Author: Na Zhai <38899902+ginaz...@users.noreply.github.com>
AuthorDate: Wed Apr 10 17:42:34 2019 +0800

    Update document (#588)
    
    * Update Chinese docs for restapi
    * Update Kylin configuration docs for 2.6
---
 website/_docs/howto/howto_use_restapi.cn.md | 11 +++++++++++
 website/_docs/install/configuration.cn.md   |  6 ++++--
 website/_docs/install/configuration.md      |  6 ++++--
 3 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/website/_docs/howto/howto_use_restapi.cn.md 
b/website/_docs/howto/howto_use_restapi.cn.md
index 1035bb1..8312888 100644
--- a/website/_docs/howto/howto_use_restapi.cn.md
+++ b/website/_docs/howto/howto_use_restapi.cn.md
@@ -25,6 +25,7 @@ This page lists the major RESTful APIs provided by Kylin.
 * JOB
    * [Resume job](#resume-job)
    * [Pause job](#pause-job)
+   * [Drop job](#drop-job)
    * [Discard job](#discard-job)
    * [Get job status](#get-job-status)
    * [Get job step output](#get-job-step-output)
@@ -47,6 +48,10 @@ This page lists the major RESTful APIs provided by Kylin.
 #### Request Header
 Authorization data encoded by basic auth is needed in the header, such as:
 Authorization:Basic {data}
+You can generate {data} by using below python script
+```
+python -c "import base64; print 
base64.standard_b64encode('$UserName:$Password')"
+```
 
 #### Response Body
 * userDetails - Defined authorities and status of current user.
@@ -881,6 +886,12 @@ curl -X PUT -H "Authorization: Basic XXXXXXXXX" -H 
'Content-Type: application/js
 #### Path variable
 * jobId - `required` `string` Job id.
 
+## Drop Job
+`DELETE /kylin/api/jobs/{jobId}/drop`
+
+#### Path variable
+* jobId - `required` `string` Job id.
+
 ## Get Job Status
 `GET /kylin/api/jobs/{jobId}`
 
diff --git a/website/_docs/install/configuration.cn.md 
b/website/_docs/install/configuration.cn.md
index 3e1dd68..37a1295 100644
--- a/website/_docs/install/configuration.cn.md
+++ b/website/_docs/install/configuration.cn.md
@@ -363,7 +363,7 @@ Kylin 和 HBase 都在写入磁盘时使用压缩,因此,Kylin 将在其原
 - `kylin.dictionary.append-max-versions`:默认值为 3
 - `kylin.dictionary.append-version-ttl`:默认值为 259200000
 - `kylin.dictionary.resuable`:是否重用字典,默认值为 FALSE
-- `kylin.dictionary.shrunken-from-global-enable`:是否缩小全局字典,默认值为 FALSE
+- `kylin.dictionary.shrunken-from-global-enabled`:是否缩小全局字典,默认值为 FALSE
 
 
 
@@ -454,7 +454,8 @@ Cube 构建默认在 **Extract Fact Table Distinct Column** 这一步为每一
 - `kylin.cube.cubeplanner.algorithm-threshold-greedy`:默认值为 8
 - `kylin.cube.cubeplanner.expansion-threshold`:默认值为 15.0
 - `kylin.cube.cubeplanner.recommend-cache-max-size`:默认值为 200
-- `kylin.cube.cubeplanner.mandatory-rollup-threshold`:默认值为 1000
+- `kylin.cube.cubeplanner.query-uncertainty-ratio`:默认值为 0.1
+- `kylin.cube.cubeplanner.bpus-min-benefit-ratio`:默认值为 0.01
 - `kylin.cube.cubeplanner.algorithm-threshold-genetic`:默认值为 23
 
 
@@ -621,6 +622,7 @@ Kylin 可以使用三种类型的压缩,分别是 HBase 表压缩,Hive 输
 ### 查询改写 {#convert-sql}
 
 - `kylin.query.force-limit`:该参数通过为 select * 语句强制添加 LIMIT 
分句,达到缩短数据返回时间的目的,该参数默认值为 -1,将该参数值设置为正整数,如 1000,该值会被应用到 LIMIT 分句,查询语句最终会被转化成 
select * from fact_table limit 1000
+- `kylin.storage.limit-push-down-enabled`: 默认值为 *TRUE*,设置为 *FALSE* 意味着关闭存储层的 
limit-pushdown 
 
 
 
diff --git a/website/_docs/install/configuration.md 
b/website/_docs/install/configuration.md
index ccf8403..152da8b 100644
--- a/website/_docs/install/configuration.md
+++ b/website/_docs/install/configuration.md
@@ -363,7 +363,7 @@ Both Kylin and HBase use compression when writing to disk, 
so Kylin will multipl
 - `kylin.dictionary.append-max-versions`: The default value is 3
 - `kylin.dictionary.append-version-ttl`: The default value is 259200000
 - `kylin.dictionary.resuable`: whether to reuse the dictionary. The default 
value is FALSE
-- `kylin.dictionary.shrunken-from-global-enable`: whether to reduce the size 
of global dictionary. The default value is *FALSE*
+- `kylin.dictionary.shrunken-from-global-enabled`: whether to reduce the size 
of global dictionary. The default value is *FALSE*
 
 
 
@@ -453,7 +453,8 @@ Both Kylin and HBase use compression when writing to disk, 
so Kylin will multipl
 - `kylin.cube.cubeplanner.algorithm-threshold-greedy`: the default value is 8
 - `kylin.cube.cubeplanner.expansion-threshold`: the default value is 15.0
 - `kylin.cube.cubeplanner.recommend-cache-max-size`: the default value is 200
-- `kylin.cube.cubeplanner.mandatory-rollup-threshold`: the default value is 
1000
+- `kylin.cube.cubeplanner.query-uncertainty-ratio`: the default value is 0.1
+- `kylin.cube.cubeplanner.bpus-min-benefit-ratio`: the default value is 0.01
 - `kylin.cube.cubeplanner.algorithm-threshold-genetic`: the default value is 23
 
 > Note: For more information, please refer to [Using Cube 
 > Planner](/docs/tutorial/use_cube_planner.html).
@@ -617,6 +618,7 @@ The value of `kylin.query.timeout-seconds` is greater than 
60 or equals 0, the m
 ### Query rewriting {#convert-sql}
 
 - `kylin.query.force-limit`: this parameter achieves the purpose of shortening 
the query duration by forcing a LIMIT clause for the select * statement. The 
default value is *-1*, and the parameter value is set to a positive integer, 
such as 1000, the value will be applied to the LIMIT clause, and the query will 
eventually be converted to select * from fact_table limit 1000
+- `kylin.storage.limit-push-down-enabled`: the default value is *TRUE*, set to 
*FALSE* to close the limit-pushdown of storage layer
 
 
 

Reply via email to