5661954 opened a new issue #12728: URL: https://github.com/apache/shardingsphere/issues/12728
## Bug Report the version of ShardingSphere 4.1.1 ShardingSphere-JDBC parse sql error, run sql in mysql console is right ,but use mybatis, there throw exception like next: ''' ### Error querying database. Cause: java.lang.ClassCastException: class org.apache.shardingsphere.sql.parser.sql.segment.dml.item.ExpressionProjectionSegment cannot be cast to class org.apache.shardingsphere.sql.parser.sql.segment.dml.column.ColumnSegment (org.apache.shardingsphere.sql.parser.sql.segment.dml.item.ExpressionProjectionSegment and org.apache.shardingsphere.sql.parser.sql.segment.dml.column.ColumnSegment are in unnamed module of loader 'app') ### The error may involve defaultParameterMap ### The error occurred while setting parameters ### SQL: select id, asset_ins_id, product_ins_id, create_time, update_time from relation where (product_ins_id,asset_ins_id) in ( (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) , (?,?) ) ''' -- 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]
