strawberry1314 opened a new issue, #34287: URL: https://github.com/apache/shardingsphere/issues/34287
## Bug Report ### Which version of ShardingSphere did you use? 5.5.1 ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy? proxy ### Expected behavior insert success ### Actual behavior IndexOutOfBoundsException ![image](https://github.com/user-attachments/assets/ac823e77-1abc-4d67-ba71-aa3ca17d381f) ### Reason analyze (If you can) For some prepared SQL statements, if the number of parameters in the inserted statement is greater than the number of fields to be inserted, the method(createParameterColumnDefinition41Packets) in class(MySQLComStmtPrepareExecutor) will throw IndexOutOfBoundsException ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc. 1、Use GoLang to execute the SQL statement ![image](https://github.com/user-attachments/assets/059a7c2e-5c84-4c1c-80df-9976d856d116) 2、sql statement example: insert into test_table (id, content, version, create_time) values (?, ?, ?, ?) ON DUPLICATE KEY UPDATE version = ?, update_time =? ### Example codes for reproduce this issue (such as a github link). Class : MySQLComStmtPrepareExecutor ![image](https://github.com/user-attachments/assets/a6f6d9d1-dab5-4280-8684-1d8b419360b1) -- 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: notifications-unsubscr...@shardingsphere.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org