This is an automated email from the ASF dual-hosted git repository.
jianglongtao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 306279f4727 Update doc (#22538)
306279f4727 is described below
commit 306279f47279696e87269e7e60f1c52a86c64373
Author: Zichao <[email protected]>
AuthorDate: Wed Nov 30 23:44:38 2022 +1300
Update doc (#22538)
---
.../user-manual/shardingsphere-proxy/distsql/syntax/_index.cn.md | 5 +++++
.../user-manual/shardingsphere-proxy/distsql/syntax/_index.en.md | 6 ++++++
2 files changed, 11 insertions(+)
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/_index.cn.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/_index.cn.md
index e233aef7826..cf382f45762 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/_index.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/_index.cn.md
@@ -36,3 +36,8 @@ chapter = true
说明:部分 DistSQL 语法允许负值,此时可在数字前加负号(-),如 -1。
- 布尔值:TRUE 或 FALSE,大小写不敏感。
+
+### 特别说明
+
+- 当指定用户自定义算法类型名称时必须使用 `""` 对算法类型名称进行标注,例如 `NAME="AlgorithmTypeName"` ;
+- 当指定 ShardingSphere [内置算法](/cn/user-manual/common-config/props/)类型名称时可以不使用
`""` 对算法类型名称进行标注,例如 `NAME=HASH_MODE` ;
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/_index.en.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/_index.en.md
index ca62ac892c2..1a2148a6802 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/_index.en.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/_index.en.md
@@ -36,3 +36,9 @@ Types of literals include:
Note: some DistSQL syntax allows negative values. In this case, a negative
sign (-) can be added before the number, such as -1.
- boolean, containing only true & false. Case insensitive.
+
+### Special Instructions
+
+- The `""` must be used to mark the algorithm type name when specifying a
user-defined algorithm type name, for example, `NAME="AlgorithmTypeName"`
+
+- The `""` is not necessary when specifying a ShardingSphere [Built-in
algorithm](/en/user-manual/common-config/props/) type name, for example,
`NAME=HASH_MOD`