strongduanmu commented on code in PR #30989:
URL: https://github.com/apache/shardingsphere/pull/30989#discussion_r1575521896


##########
parser/sql/dialect/mysql/src/main/java/org/apache/shardingsphere/sql/parser/mysql/visitor/statement/MySQLStatementVisitor.java:
##########
@@ -1034,8 +1034,7 @@ public final ASTNode visitCastFunction(final 
CastFunctionContext ctx) {
                 result.getParameters().add((ColumnSegment) expr);
             } else if (expr instanceof LiteralExpressionSegment) {
                 result.getParameters().add((LiteralExpressionSegment) expr);
-            }
-            else if (expr instanceof FunctionSegment) {
+            } else if (expr instanceof FunctionSegment) {

Review Comment:
   Hi @Afsalmc, does this change has sql parser test case cover?



-- 
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