daodefengshang opened a new issue #12624: URL: https://github.com/apache/shardingsphere/issues/12624
### Which version of ShardingSphere did you use? 4.1.1 ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy? ShardingSphere-JDBC ### Expected behavior send the sql to mysql ### Actual behavior Throw an exception Cause: java.lang.ClassCastException: org.apache.shardingsphere.sql.parser.sql.segment.dml.expr.simple.ParameterMarkerExpressionSegment cannot be cast to org.apache.shardingsphere.sql.parser.sql.segment.dml.expr.simple.LiteralExpressionSegment ### Reason analyze (If you can) ShardingSphere-JDBC cannot correctly identify the parameters in the select statement ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc. select ? as id ### Example codes for reproduce this issue (such as a github link). -- 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]
