Lucas-307 opened a new issue #7815:
URL: https://github.com/apache/shardingsphere/issues/7815


   Sql example:
   
   ```sql
   INSERT INTO `t_order_1`(`group_name`) VALUES('👍įģįŽĄį§‘æŠ€đŸ‘')
   ```
   
   Exception:
   ```
   [ERROR] 17:20:34.074 [ShardingSphere-ShardingScaling-execute-6] 
o.a.s.s.c.e.e.i.AbstractJDBCImporter - flush failed: 
org.apache.shardingsphere.scaling.core.execute.executor.record.DataRecord@1e4791cb
   java.sql.SQLException: Incorrect string value: '\xF0\x9F\x91\x8D\xE7\xBB...' 
for column 'group_name' at row 1
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:964)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2494)
        at 
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1858)
        at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1197)
        at 
com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
        at 
com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
        at 
org.apache.shardingsphere.scaling.core.execute.executor.importer.AbstractJDBCImporter.executeInsert(AbstractJDBCImporter.java:149)
        at 
org.apache.shardingsphere.scaling.core.execute.executor.importer.AbstractJDBCImporter.execute(AbstractJDBCImporter.java:127)
        at 
org.apache.shardingsphere.scaling.core.execute.executor.importer.AbstractJDBCImporter.doFlush(AbstractJDBCImporter.java:113)
        at 
org.apache.shardingsphere.scaling.core.execute.executor.importer.AbstractJDBCImporter.tryFlush(AbstractJDBCImporter.java:104)
        at 
org.apache.shardingsphere.scaling.core.execute.executor.importer.AbstractJDBCImporter.flush(AbstractJDBCImporter.java:94)
        at 
org.apache.shardingsphere.scaling.core.execute.executor.importer.AbstractJDBCImporter.write(AbstractJDBCImporter.java:83)
        at 
org.apache.shardingsphere.scaling.core.execute.executor.importer.AbstractJDBCImporter.start(AbstractJDBCImporter.java:75)
        at 
org.apache.shardingsphere.scaling.core.execute.executor.AbstractShardingScalingExecutor.run(AbstractShardingScalingExecutor.java:53)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at 
com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125)
        at 
com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:69)
        at 
com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
   ```


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to