RaigorJiang commented on a change in pull request #11742:
URL: https://github.com/apache/shardingsphere/pull/11742#discussion_r686476033



##########
File path: 
shardingsphere-distsql-parser/shardingsphere-distsql-parser-engine/src/main/java/org/apache/shardingsphere/distsql/parser/api/DistSQLStatementParserEngine.java
##########
@@ -38,7 +39,11 @@ public SQLStatement parse(final String sql) {
         try {
             return new ResourceSQLStatementParserEngine().parse(sql);
         } catch (final ParseCancellationException | SQLParsingException 
ignored) {
-            return new RuleSQLStatementParserEngine().parse(sql);
+            try {

Review comment:
       Maybe we can fefer to 
[ShardingSphereSQLParserEngine#parse0](https://github.com/apache/shardingsphere/blob/master/shardingsphere-infra/shardingsphere-infra-parser/src/main/java/org/apache/shardingsphere/infra/parser/ShardingSphereSQLParserEngine.java)




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to