liunaijie commented on issue #6830:
URL: https://github.com/apache/seatunnel/issues/6830#issuecomment-2105581363

   > > try to add `rewriteBatchedStatements=true` parameter to your jdbc url
   > 
   > Thank you, but this parameter has been added before,did not meet 
expectations
   
   ```hacon
   plugin_name = jdbc
   user = xxxxx
   url = 
"jdbc:mysql://xxxxxx/xxxxxxx?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&rewriteBatchedStatements=true&useSSL=false"
   enable_upsert = true
   generate_sink_sql = true
   database = db_name
   table = table_name
   primary_keys = [xxx,xxx]
   ```
   try with this config, it will auto generate insert sql, i use this config, 
the write speed is good
   


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

Reply via email to