bulolo commented on issue #6658:
URL: https://github.com/apache/seatunnel/issues/6658#issuecomment-2053581594

   > @bulolo Can set result_table_name source_table_name Try it?
   
   the same
   
   ```
   env {
     parallelism = 1
     job.mode = "STREAMING"
     checkpoint.interval = 5000
   }
   
   source {
     SqlServer-CDC {
       username = "sa"
       password = "Password!"
       startup.mode="initial"
       exactly_once=true
       result_table_name = "temp_orderdetail"
       database-names = ["SCPRD"]
       table-names = ["SCPRD.wmwhse2.ORDERDETAIL", "SCPRD.wmwhse3.ORDERDETAIL"]
       base-url = "jdbc:sqlserver://192.168.103.XXX:1433;databaseName=SCPRD"
     }
   }
   
   
   sink {
     StarRocks {
       source_table_name = "temp_orderdetail"
       nodeUrls=[
           "192.168.103.XXX:8040"
       ]
       batch_max_rows = 1024
       table="ORDERDETAIL"
       database="scm"
       base-url="jdbc:mysql://192.168.103.XXX:9030"
       password="XXX"
       username="root"
       enable_upsert_delete = true
       schema_save_mode="ERROR_WHEN_SCHEMA_NOT_EXIST"
       data_save_mode="DROP_DATA"
     }
   }
   ```


-- 
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: commits-unsubscr...@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to