-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Doc] Fix plugin related documentation #1911
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
评论的几个问题,是共性的问题。麻烦把所有文档都检查修改一遍吧
|
||
```sql | ||
INSTALL PLUGIN FROM [source] [PROPERTIES ("key"="value", ...)] | ||
INSTALL PLUGIN FROM source [PROPERTIES ("key"="value", ...)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
INSTALL PLUGIN FROM source [PROPERTIES ("key"="value", ...)] | |
INSTALL PLUGIN FROM <source> [PROPERTIES ("<key>"="<value>", ...)] |
- source | ||
The plugin path to be installed, supports three types: | ||
1. An absolute path to a zip file | ||
2. An absolute path to a plugin directory | ||
3. Points to a zip file download path with http or https protocol |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 使用有序列表
- 带上尖括号,使用 inline code
- 加粗
- 说明的地方使用引用
- source | |
The plugin path to be installed, supports three types: | |
1. An absolute path to a zip file | |
2. An absolute path to a plugin directory | |
3. Points to a zip file download path with http or https protocol | |
** 1. `<source>`** | |
> The plugin path to be installed, supports three types: | |
> 1. An absolute path to a zip file | |
> 2. An absolute path to a plugin directory | |
> 3. Points to a zip file download path with http or https protocol |
|
||
| Permissions | Object | Notes | | ||
|:-----------|:-----|:--------------| | ||
| Admin_priv | The entire cluster | Requires administrative privileges for the entire cluster | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Admin_priv | The entire cluster | Requires administrative privileges for the entire cluster | | |
| ADMIN_PRIV | The entire cluster | Requires administrative privileges for the entire cluster | |
|Description|Version|JavaVersion|ClassName|SoName|Sources|Status|Properties| | ||
|-----------|-------|-----------|---------|------|-------|------|----------| | ||
|builtin audit loader, to load audit log to internal table|2.1.0|1.8.31|org.apache.doris.plugin.audit.AuditLoader||Builtin|INSTALLED|{}| | ||
|builtin audit logger|0.12.0|1.8.31|org.apache.doris.plugin.audit.AuditLogBuilder||Builtin|INSTALLED|{}| | ||
|builtin sql dialect converter|2.1.0|1.8.31|org.apache.doris.plugin.dialect.HttpDialectConverterPlugin||Builtin|INSTALLED|{}| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里是要说明返回的结果,每一列的含义。而不是给一个返回值的示例
```SQL | ||
SHOW PLUGINS; | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个后面,要把SHOW PLUGINS;
的结果写出来
@@ -29,27 +29,33 @@ under the License. | |||
|
|||
This statement is used to uninstall a plugin. | |||
|
|||
grammar: | |||
## Syntax: | |||
|
|||
```sql | |||
UNINSTALL PLUGIN plugin_name; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UNINSTALL PLUGIN plugin_name; | |
UNINSTALL PLUGIN <plugin_name>; |
|
||
Only non-builtin plugins can be uninstalled. | ||
- plugin_name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
类似的问题
|
||
## Optional parameters | ||
|
||
** 1. `<PROPERTIES>`** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
** 1. `<PROPERTIES>`** | |
** 1. `[PROPERTIES ("<key>"="<value>", ...)]`** |
|Description| Version | JavaVersion | ClassName | SoName | Sources | Status | Properties | | ||
|-----------|---------|-------------|------|----------|------|------|-------| | ||
|Corresponding plug-in description| Plug-in corresponding version number | Corresponding Java version number | Program class name | Program shared object name | Plugin Source | Installation Status | Plugin Properties | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Column | Description |
| ------ | ----------- |
| Description | Corresponding plug-in description |
| .... | .... |
| Properties | Plugin Properties |
|Description|Version|JavaVersion|ClassName|SoName|Sources|Status|Properties| | ||
|-----------|-------|-----------|---------|------|-------|------|----------| | ||
|builtin audit loader, to load audit log to internal table|2.1.0|1.8.31|org.apache.doris.plugin.audit.AuditLoader||Builtin|INSTALLED|{}| | ||
|builtin audit logger|0.12.0|1.8.31|org.apache.doris.plugin.audit.AuditLogBuilder||Builtin|INSTALLED|{}| | ||
|builtin sql dialect converter|2.1.0|1.8.31|org.apache.doris.plugin.dialect.HttpDialectConverterPlugin||Builtin|INSTALLED|{}| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个地方要用 mysql 客户端执行出来的返回结果。形如
+----+-----+
| .. | ... |
....
Versions
Languages
Docs Checklist