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 34d7c4104c3 change doc position of DistSQL syntax (#19966)
34d7c4104c3 is described below

commit 34d7c4104c3c5c049f664ea6505bcba5ed19f0d9
Author: Mike0601 <[email protected]>
AuthorDate: Mon Aug 8 15:25:47 2022 +0800

    change doc position of DistSQL syntax (#19966)
    
    * change position
    
    * add blank line and delete space
---
 .../shardingsphere-proxy/distsql/_index.cn.md      | 29 --------------------
 .../shardingsphere-proxy/distsql/_index.en.md      | 28 -------------------
 .../distsql/syntax/_index.cn.md                    | 31 ++++++++++++++++++++++
 .../distsql/syntax/_index.en.md                    | 31 ++++++++++++++++++++++
 4 files changed, 62 insertions(+), 57 deletions(-)

diff --git 
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/_index.cn.md 
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/_index.cn.md
index 6911ea7f630..b06a7db5875 100644
--- 
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/_index.cn.md
+++ 
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/_index.cn.md
@@ -5,32 +5,3 @@ chapter = true
 +++
 
 本章节将介绍 [DistSQL](/cn/overview/distsql/) 的详细语法。
-
-## 语法规则
-
-在 DistSQL 语句中,除关键字外,其余元素的输入格式应符合以下规则。
-
-### 标识符
-
-1. 标识符代表 SQL 语句中的一个对象,包括:
-
-- 数据库名称
-- 表名
-- 列名
-- 索引名称
-- 资源名称
-- 规则名称
-- 算法名称
-
-1. 标识符中允许使用的字符有:[`a-z,A-Z,0-9,_`](字母、数字、下划线),且应以字母开头。
-
-1. 当标识符中出现关键字或特殊字符时,使用反引号 (`) 。
-
-### 字面量
-
-字面量包括字符串、整数值和布尔值:
-
-- 字符串:是由单引号 ( ') 或双引号 ( ") 括起来的字符序列;
-- 整数值:一般为正整数,如 0-9;
-说明:部分 DistSQL 语法允许负值,此时可在数字前加负号(-),如 -1。
-- 布尔值:TRUE 或 FALSE,大小写不敏感。
\ No newline at end of file
diff --git 
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/_index.en.md 
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/_index.en.md
index 8b9a030bf08..62d39c4743f 100644
--- 
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/_index.en.md
+++ 
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/_index.en.md
@@ -5,31 +5,3 @@ chapter = true
 +++
 
 This chapter will introduce the detailed syntax of 
[DistSQL](/en/overview/distsql/).
-
-## Syntax Rule
-
-In DistSQL statement, except for keywords, the input format of other elements 
shall conform to the following rules.
-
-### Identifier
-
-1. The identifier represents an object in the SQL statement, including:
-- database name
-- table name
-- column name
-- index name
-- resource name
-- rule name
-- algorithm name
-
-1. The allowed characters in the identifier are: [`A-Z, A-Z, 0-9, _`] 
(letters, numbers, underscores) and should start with a letter.
-
-1. When keywords or special characters appear in the identifier, use the 
backticks (`).
-
-### Literal
-
-Types of literals include:
-
-- string: enclosed in single quotes (') or double quotes (")
-- int: it is generally a positive integer, such as 0-9;
-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.
\ No newline at end of file
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 43ccd6fdf5a..e233aef7826 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
@@ -5,3 +5,34 @@ chapter = true
 +++
 
 本章节将对 DistSQL 的语法进行详细说明,并以实际的列子介绍 DistSQL 的使用。
+
+## 语法规则
+
+在 DistSQL 语句中,除关键字外,其余元素的输入格式应符合以下规则。
+
+### 标识符
+
+1. 标识符代表 SQL 语句中的一个对象,包括:
+
+- 数据库名称
+- 表名
+- 列名
+- 索引名称
+- 资源名称
+- 规则名称
+- 算法名称
+
+2. 标识符中允许使用的字符有:[`a-z,A-Z,0-9,_`](字母、数字、下划线),且应以字母开头。
+
+3. 当标识符中出现关键字或特殊字符时,使用反引号 (`) 。
+
+### 字面量
+
+字面量包括字符串、整数值和布尔值:
+
+- 字符串:是由单引号 (') 或双引号 (") 括起来的字符序列;
+- 整数值:一般为正整数,如 0-9;
+
+说明:部分 DistSQL 语法允许负值,此时可在数字前加负号(-),如 -1。
+
+- 布尔值:TRUE 或 FALSE,大小写不敏感。
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 03b99dda752..ca62ac892c2 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
@@ -5,3 +5,34 @@ chapter = true
 +++
 
 This chapter describes the syntax of DistSQL in detail, and introduces use of 
DistSQL with practical examples.
+
+## Syntax Rule
+
+In DistSQL statement, except for keywords, the input format of other elements 
shall conform to the following rules.
+
+### Identifier
+
+1. The identifier represents an object in the SQL statement, including:
+
+- database name
+- table name
+- column name
+- index name
+- resource name
+- rule name
+- algorithm name
+
+2. The allowed characters in the identifier are: [`A-Z, A-Z, 0-9, _`] 
(letters, numbers, underscores) and should start with a letter.
+
+3. When keywords or special characters appear in the identifier, use the 
backticks (`).
+
+### Literal
+
+Types of literals include:
+
+- string: enclosed in single quotes (') or double quotes (")
+- int: it is generally a positive integer, such as 0-9;
+
+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.

Reply via email to