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


##########
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:
   What I mean is that after modifying the logic of visit, it needs to add the 
corresponding case to test it. Additionally, something went wrong with the CI, 
which also needed to be solved.



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