peilinqian opened a new issue, #18456: URL: https://github.com/apache/shardingsphere/issues/18456
## Bug Report **For English only**, other languages will not accept. Before report a bug, make sure you have: - Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues). - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview). Please pay attention on issues you submitted, because we maybe need more details. If no response anymore and we cannot reproduce it on current information, we will **close it**. Please answer these questions before submitting your issue. Thanks! ### Which version of ShardingSphere did you use? we find java version: java8, full_version=1.8.0_282 ShardingSphere-5.1.2-SNAPSHOT Commit ID: 952c1feacb26bc03ea4ea14d9f82b0d5777732c2 Commit Message: Update shasum arguments in Release documents (#18344) Branch: master Build time: 2022-06-13T19:07:26+0000 ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy? ShardingSphere-Proxy ### Expected behavior insert successfully ### Actual behavior insert failed ``` ERROR: syntax error at or near "valuesorg" LINE 1: insert into cur_test_13_02 values(2,22,'Geoge','Hainan'),(32... ``` ``` [INFO ] 2022-06-20 17:04:59.577 [Connection-321-ThreadExecutor] ShardingSphere-SQL - Actual SQL: ds_0 ::: insert into cur_test_13_02 valuesorg.apache.shardingsphere.sharding.rewrite.token.pojo.ShardingInsertValuesToken@4ce0227e; [ERROR] 2022-06-20 17:04:59.590 [Connection-321-ThreadExecutor] o.a.s.p.f.c.CommandExecutorTask - Exception occur: org.opengauss.util.PSQLException: [10.28.13.92:46438/10.29.180.204:14000] ERROR: syntax error at or near "valuesorg" Position: 28 at org.opengauss.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2901) at org.opengauss.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2630) at org.opengauss.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:362) at org.opengauss.jdbc.PgStatement.runQueryExecutor(PgStatement.java:562) at org.opengauss.jdbc.PgStatement.executeInternal(PgStatement.java:539) at org.opengauss.jdbc.PgStatement.execute(PgStatement.java:397) at org.opengauss.jdbc.PgStatement.executeWithFlags(PgStatement.java:339) at org.opengauss.jdbc.PgStatement.executeCachedSql(PgStatement.java:325) at org.opengauss.jdbc.PgStatement.executeWithFlags(PgStatement.java:302) at org.opengauss.jdbc.PgStatement.execute(PgStatement.java:298) at org.opengauss.jdbc.PgStatement.execute(PgStatement.java:1458) at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:103) at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java) at org.apache.shardingsphere.proxy.backend.communication.jdbc.executor.callback.impl.ProxyStatementExecutorCallback.execute(ProxyStatementExecutorCallback.java:40) at org.apache.shardingsphere.proxy.backend.communication.jdbc.executor.callback.ProxyJDBCExecutorCallback.executeSQL(ProxyJDBCExecutorCallback.java:73) at org.apache.shardingsphere.proxy.backend.communication.jdbc.executor.callback.ProxyJDBCExecutorCallback.executeSQL(ProxyJDBCExecutorCallback.java:66) at org.apache.shardingsphere.proxy.backend.communication.jdbc.executor.callback.ProxyJDBCExecutorCallback.executeSQL(ProxyJDBCExecutorCallback.java:44) at org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutorCallback.execute(JDBCExecutorCallback.java:86) at org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutorCallback.execute(JDBCExecutorCallback.java:66) at org.apache.shardingsphere.infra.executor.kernel.ExecutorEngine.syncExecute(ExecutorEngine.java:135) at org.apache.shardingsphere.infra.executor.kernel.ExecutorEngine.parallelExecute(ExecutorEngine.java:131) at org.apache.shardingsphere.infra.executor.kernel.ExecutorEngine.execute(ExecutorEngine.java:116) at org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutor.execute(JDBCExecutor.java:65) at org.apache.shardingsphere.proxy.backend.communication.jdbc.executor.ProxyJDBCExecutor.execute(ProxyJDBCExecutor.java:71) at org.apache.shardingsphere.proxy.backend.communication.ProxySQLExecutor.useDriverToExecute(ProxySQLExecutor.java:171) at org.apache.shardingsphere.proxy.backend.communication.ProxySQLExecutor.execute(ProxySQLExecutor.java:132) at org.apache.shardingsphere.proxy.backend.communication.ProxySQLExecutor.execute(ProxySQLExecutor.java:126) at org.apache.shardingsphere.proxy.backend.communication.jdbc.JDBCDatabaseCommunicationEngine.execute(JDBCDatabaseCommunicationEngine.java:140) at org.apache.shardingsphere.proxy.backend.communication.jdbc.JDBCDatabaseCommunicationEngine.execute(JDBCDatabaseCommunicationEngine.java:73) at org.apache.shardingsphere.proxy.backend.text.data.impl.SchemaAssignedDatabaseBackendHandler.execute(SchemaAssignedDatabaseBackendHandler.java:63) at org.apache.shardingsphere.proxy.frontend.opengauss.command.query.simple.OpenGaussComQueryExecutor.execute(OpenGaussComQueryExecutor.java:76) at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.executeCommand(CommandExecutorTask.java:107) at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.run(CommandExecutorTask.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) ``` ### Reason analyze (If you can) ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc. ``` drop table if exists cur_test_13_01; drop table if exists cur_test_13_02; create table cur_test_13_01(c_id int,c_num int,c_name varchar(10),c_city varchar(10),c_add varchar(20)); insert into cur_test_13_01 values(1,18,'Allen','Beijing','AAAAABAAAAA'),(21,368,'Bob','Shanghai','AAAAACAAAAA'), (3,59,'Cathy','Shenzhen','AAAAADAAAAA'),(4,96,'David','Suzhou','AAAAAEAAAAA'), (5,17,'Edrwd','Fenghuang','AAAAAFAAAAA'),(61,253,'Fendi','Changsha','AAAAAGAAAAA'); create table cur_test_13_02(c_id int,c_num int,c_name varchar(10),c_city varchar(10)); insert into cur_test_13_02 values(2,22,'Geoge','Hainan'),(32,54,'Hebe','Taiwan'), (12,59,'Ivail','HongKong'),(24,946,'Jack','Shanghai'), (51,117,'Kathy','Qinghai'),(26,253,'Laura','Xian'); ``` ### 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]
