This is an automated email from the ASF dual-hosted git repository.

zhangliang 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 2dcc4bdaab0 Move showEncryptAlgorithmPlugins to RAL (#36098)
2dcc4bdaab0 is described below

commit 2dcc4bdaab0c035074ff39b7d4d72e272471cc0f
Author: Liang Zhang <[email protected]>
AuthorDate: Tue Jul 29 10:15:43 2025 +0800

    Move showEncryptAlgorithmPlugins to RAL (#36098)
    
    * Move showEncryptAlgorithmPlugins to RAL
    
    * Move showEncryptAlgorithmPlugins to RAL
---
 .../imports/encrypt/{RQLStatement.g4 => RALStatement.g4}   | 14 +-------------
 .../parser/src/main/antlr4/imports/encrypt/RQLStatement.g4 |  4 ----
 .../distsql/parser/autogen/EncryptDistSQLStatement.g4      |  2 +-
 3 files changed, 2 insertions(+), 18 deletions(-)

diff --git 
a/features/encrypt/distsql/parser/src/main/antlr4/imports/encrypt/RQLStatement.g4
 
b/features/encrypt/distsql/parser/src/main/antlr4/imports/encrypt/RALStatement.g4
similarity index 80%
copy from 
features/encrypt/distsql/parser/src/main/antlr4/imports/encrypt/RQLStatement.g4
copy to 
features/encrypt/distsql/parser/src/main/antlr4/imports/encrypt/RALStatement.g4
index 277aa6d7267..0c43bb59626 100644
--- 
a/features/encrypt/distsql/parser/src/main/antlr4/imports/encrypt/RQLStatement.g4
+++ 
b/features/encrypt/distsql/parser/src/main/antlr4/imports/encrypt/RALStatement.g4
@@ -15,22 +15,10 @@
  * limitations under the License.
  */
 
-grammar RQLStatement;
+grammar RALStatement;
 
 import BaseRule;
 
-showEncryptRules
-    : SHOW ENCRYPT (TABLE? tableRule | RULES) (FROM databaseName)?
-    ;
-
-tableRule
-    : RULE tableName
-    ;
-
-countEncryptRule
-    : COUNT ENCRYPT RULE (FROM databaseName)?
-    ;
-
 showEncryptAlgorithmPlugins
     : SHOW ENCRYPT ALGORITHM PLUGINS
     ;
diff --git 
a/features/encrypt/distsql/parser/src/main/antlr4/imports/encrypt/RQLStatement.g4
 
b/features/encrypt/distsql/parser/src/main/antlr4/imports/encrypt/RQLStatement.g4
index 277aa6d7267..a98fa100193 100644
--- 
a/features/encrypt/distsql/parser/src/main/antlr4/imports/encrypt/RQLStatement.g4
+++ 
b/features/encrypt/distsql/parser/src/main/antlr4/imports/encrypt/RQLStatement.g4
@@ -30,7 +30,3 @@ tableRule
 countEncryptRule
     : COUNT ENCRYPT RULE (FROM databaseName)?
     ;
-
-showEncryptAlgorithmPlugins
-    : SHOW ENCRYPT ALGORITHM PLUGINS
-    ;
diff --git 
a/features/encrypt/distsql/parser/src/main/antlr4/org/apache/shardingsphere/distsql/parser/autogen/EncryptDistSQLStatement.g4
 
b/features/encrypt/distsql/parser/src/main/antlr4/org/apache/shardingsphere/distsql/parser/autogen/EncryptDistSQLStatement.g4
index f10b90d9169..929314e03bd 100644
--- 
a/features/encrypt/distsql/parser/src/main/antlr4/org/apache/shardingsphere/distsql/parser/autogen/EncryptDistSQLStatement.g4
+++ 
b/features/encrypt/distsql/parser/src/main/antlr4/org/apache/shardingsphere/distsql/parser/autogen/EncryptDistSQLStatement.g4
@@ -17,7 +17,7 @@
 
 grammar EncryptDistSQLStatement;
 
-import Symbol, RDLStatement, RQLStatement;
+import Symbol, RDLStatement, RQLStatement, RALStatement;
 
 execute
     : (createEncryptRule

Reply via email to