xyzhh opened a new issue, #9638:
URL: https://github.com/apache/seatunnel/issues/9638

   I tried to clear the target table's data before ETL, but the 
`data_save_mode` setting doesn't work. Here's my config:
   
   env {
     parallelism = 1
     #job.mode = "BATCH"
   }
   
   source {
     Jdbc {
       url = "jdbc:mysql://10.100.15.72:3306/tmp"
       driver = "com.mysql.cj.jdbc.Driver"
       connection_check_timeout_sec = 100
       user = "xyz"
       password = "xyz"
       query = "select * from tbls"
     }
   }
   
   sink {
     jdbc {
       url = "jdbc:mysql://10.100.15.73:3306/tmp"
       driver = "com.mysql.cj.jdbc.Driver"
       user = "xyz"
       password = "xyz"
       data_save_mode = "DROP_DATA"
       query = "insert into tbls values(?,?,?,?,?,?,?,?,?,?,?,?)"
     }
   }
   
   


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