This is an automated email from the ASF dual-hosted git repository.
ulyssesyou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi.git
The following commit(s) were added to refs/heads/master by this push:
new b268fcee6 [KYUUBI #3596] [DOCS]update plan only execution mode doc
b268fcee6 is described below
commit b268fcee62284453a0a2aea49f77d2a89d8b2263
Author: 胡安忠 <[email protected]>
AuthorDate: Mon Oct 10 19:21:23 2022 +0800
[KYUUBI #3596] [DOCS]update plan only execution mode doc
### _Why are the changes needed?_
it seems Flink engine is also supported
_Originally posted in
https://github.com/apache/incubator-kyuubi/pull/3557#discussion_r984316871_
### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including
negative and positive cases if possible
- [x] Add screenshots for manual tests if appropriate

- [ ] [Run
test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests)
locally before make a pull request
Closes #3596 from CauchyHu/update-plan-only-doc.
Closes #3596
56247b9f [胡安忠] [DOCS]revise uppercase and lowercase
1e41a924 [胡安忠] [DOCS]update parameters values
295065d1 [胡安忠] [DOCS]update plan only execution mode doc
Authored-by: 胡安忠 <[email protected]>
Signed-off-by: ulysses-you <[email protected]>
---
docs/client/advanced/features/plan_only.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/client/advanced/features/plan_only.md
b/docs/client/advanced/features/plan_only.md
index b85fc3b58..9f9431164 100644
--- a/docs/client/advanced/features/plan_only.md
+++ b/docs/client/advanced/features/plan_only.md
@@ -17,16 +17,16 @@
# Plan Only Execution Mode
-Plan only execution mode is implemented through Spark extensions, so it is
only supported Spark engine so far.
+Plan only execution mode currently only supports spark and flink engine.
-It can print Spark's parsing, analysis or optimization phases execution
planning, and supports application-level and session-level parameter settings,
which are used in the following ways.
+Configure the kyuubi.operation.plan.only.mode parameter, the value can be
'parse', 'analyze', 'optimize', 'optimize_with_stats', 'physical', 'execution',
or 'none', when it is 'none', indicate to the statement will be fully executed,
otherwise only way without executing the query. Different engines currently
support different modes, the spark engine supports all modes, and the flink
engine supports 'parse', 'physical', and 'execution', other engines do not
support plan-only mode currentl [...]
## Application-level parameter setting
You can add parameters to the URL when establishing a JDBC connection, the
parameter is kyuubi.operation.plan.only.mode=parse/analyze/optimize.
JDBC URLs have the following format:
```shell
-
jdbc:hive2://<host>:<port>/<dbName>;<sessionVars>?kyuubi.operation.plan.only.mode=parse/analyze/optimize;<kyuubiConfs>#<[spark|hive]Vars>
+
jdbc:hive2://<host>:<port>/<dbName>;<sessionVars>?kyuubi.operation.plan.only.mode=parse/analyze/optimize/optimize_with_stats/physical/execution/none;<kyuubiConfs>#<[spark|hive]Vars>
```
Refer to [hive_jdbc doc](../../jdbc/hive_jdbc.md) for details of others
parameters