This is an automated email from the ASF dual-hosted git repository.
panjuan 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 6e12d4a Update parse.en.md (#7977)
6e12d4a is described below
commit 6e12d4a0b6de3599d724d3ac9dc8e86fc0150196
Author: yang-7777 <[email protected]>
AuthorDate: Fri Oct 30 16:06:08 2020 +0800
Update parse.en.md (#7977)
* Update parse.en.md
add content
* Update parse.en.md
---
docs/document/content/features/sharding/principle/parse.en.md | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/docs/document/content/features/sharding/principle/parse.en.md
b/docs/document/content/features/sharding/principle/parse.en.md
index 3370d92..40af146 100644
--- a/docs/document/content/features/sharding/principle/parse.en.md
+++ b/docs/document/content/features/sharding/principle/parse.en.md
@@ -31,8 +31,4 @@ To pursue good performance and quick achievement, the first
generation of SQL pa
The second generation of SQL parsing engine begins from 1.5.x version,
ShardingSphere has adopted fully self-developed parsing engine ever since. Due
to different purposes, ShardingSphere does not need to transform SQL into a
totally abstract syntax tree or traverse twice through visitor. Using `half
parsing` method, it only extracts the context required by data sharding, so the
performance and compatibility of SQL parsing is further improved.
-The third generation of SQL parsing engine begins from 3.0.x version.
ShardingSphere tries to adopts ANTLR as the SQL parsing engine, and plans to
replace the former parsing engine according to the order of `DDL -> TCL -> DAL
–> DCL -> DML –>DQL`. It is still in the process of replacement and iteration.
Hoping for a better compatibility with SQL, we use ANTLR in the parsing engine
of ShardingSphere. Though complex expressions, recursions, sub-queries and
other sentences are not focused b [...]
-
-The overall structure of the third generation of SQL parser is shown in the
following picture.
-
-
+The third generation of SQL parsing engine begins from 3.0.x version.
ShardingSphere tries to adopts ANTLR as the SQL parsing engine, and uses Visit
to obtain SQL Statement from AST. Starting from version 5.0.x, the architecture
of the parsing engine has been refactored. At the same time, it is convenient
to directly obtain the parsing results of the same SQL to improve parsing
efficiency by putting the AST obtained from the first parsing into the cache.
Therefore, we recommend that user [...]