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

   > table-names = ["SCPRD.wmwhse2.ORDERDETAIL", "SCPRD.wmwhse3.ORDERDETAIL"]
   
   if the source has two table how Transform deal with select 
   
   ```
   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.113:1433;databaseName=SCPRD"
     }
   }
   
   
   transform {
     Sql {
       source_table_name = "temp_orderdetail"
       result_table_name = "temp_orderdetail2"
       query = "select ORDERKEY from ?????". -----------> from  
["SCPRD.wmwhse2.ORDERDETAIL", "SCPRD.wmwhse3.ORDERDETAIL"]
     }
   }
   
   
   sink {
     console {
       source_table_name = "temp_orderdetail2"
     }
   }
   ```


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