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 9038428408ed4dd918362a408ff569a59121d897
Author: XiaoxiangYu <hit_la...@126.com>
AuthorDate: Fri May 15 11:04:49 2020 +0800

    KYLIN-4491 Doc for push down to Presto
---
 website/_docs31/tutorial/query_pushdown.cn.md | 14 ++++++++++++++
 website/_docs31/tutorial/query_pushdown.md    | 16 +++++++++++++++-
 2 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/website/_docs31/tutorial/query_pushdown.cn.md 
b/website/_docs31/tutorial/query_pushdown.cn.md
index 42aeff5..817ce1b 100644
--- a/website/_docs31/tutorial/query_pushdown.cn.md
+++ b/website/_docs31/tutorial/query_pushdown.cn.md
@@ -85,3 +85,17 @@ kylin.query.pushdown.id1.jdbc.pool-min-idle
 用户在提交查询时,若查询下压发挥作用,则在log里有相应的记录。
 
    ![](/images/tutorial/2.1/push_down/push_down_2.png)
+
+### Pushdown to Presto 
+
+如果你希望查询下压到Presto,你可以在 Project 级别配置以下参数以启用 Presto 查询下压 (通过 KYLIN-4491 引入)。
+
+{% highlight Groff markup %}
+kylin.query.pushdown.runner-class-name=org.apache.kylin.query.pushdown.PushDownRunnerOtherImpl
+kylin.source.jdbc.dialect=presto
+kylin.source.jdbc.adaptor=org.apache.kylin.sdk.datasource.adaptor.PrestoAdaptor
+kylin.query.pushdown.jdbc.url={YOUR_URL}
+kylin.query.pushdown.jdbc.driver=com.facebook.presto.jdbc.PrestoDriver
+kylin.query.pushdown.jdbc.username={USER_NAME}
+kylin.query.pushdown.jdbc.password={PASSWORD}
+{% endhighlight %}    
\ No newline at end of file
diff --git a/website/_docs31/tutorial/query_pushdown.md 
b/website/_docs31/tutorial/query_pushdown.md
index bdbb86a..107c79d 100644
--- a/website/_docs31/tutorial/query_pushdown.md
+++ b/website/_docs31/tutorial/query_pushdown.md
@@ -93,4 +93,18 @@ After Query Pushdown is configured, user is allowed to do 
flexible queries to th
 If query is answered by backup engine, `Is Query Push-Down` is set to `true` 
in the log.
 
    ![](/images/tutorial/2.1/push_down/push_down_2.png)
-# 
+   
+  
+### Pushdown to Presto 
+
+If you want your query be push down to Presto, you can set following 
configuration in Project level properties (Introduced in KYLIN-4491).
+
+{% highlight Groff markup %}
+kylin.query.pushdown.runner-class-name=org.apache.kylin.query.pushdown.PushDownRunnerOtherImpl
+kylin.source.jdbc.dialect=presto
+kylin.source.jdbc.adaptor=org.apache.kylin.sdk.datasource.adaptor.PrestoAdaptor
+kylin.query.pushdown.jdbc.url={YOUR_URL}
+kylin.query.pushdown.jdbc.driver=com.facebook.presto.jdbc.PrestoDriver
+kylin.query.pushdown.jdbc.username={USER_NAME}
+kylin.query.pushdown.jdbc.password={PASSWORD}
+{% endhighlight %}    

Reply via email to