bigdata-liu opened a new issue, #4476:
URL: https://github.com/apache/incubator-seatunnel/issues/4476

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   读取配置文件时候把库里面的所有表都读取出来了,然后按照第一张表进行增量读取
   
   ### SeaTunnel Version
   
   2.3.1
   
   ### SeaTunnel Config
   
   ```conf
   env {
    execution.parallelism = 1
   }    
   source {
     SqlServer-CDC {
       hostname = "192.168.0.74"
       port = "1434"
       username = "sa"
       password = "123456aA??"
       database-names = ["testdb"]
       table-name = "testdb.dbo.sqlserver-cdc-oracle"
     }
   }
   transform {
   }
   sink {
     Jdbc {
       url = "jdbc:oracle:thin:@192.168.0.74:1521:helowin"
       driver = "oracle.jdbc.OracleDriver"
       user = "system"
       database = "HR"
       password = "helowin"
       table = SQLSERVER_CDC_TO_ORACLE
       primary_keys = ["ID"]
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   bin/seatunnel.sh --config ./config/sqlserver-cdc-oracle.conf -e local
   ```
   
   
   ### Error Exception
   
   ```log
   2023-04-02 14:20:24,602 INFO  
org.apache.seatunnel.connectors.seatunnel.cdc.sqlserver.source.utils.TableDiscoveryUtils
 -      list of available databases is: [master, tempdb, model, msdb, testdb]
   2023-04-02 14:20:24,602 INFO  
org.apache.seatunnel.connectors.seatunnel.cdc.sqlserver.source.utils.TableDiscoveryUtils
 - Read list of available tables in each database
   2023-04-02 14:20:25,076 INFO  
org.apache.seatunnel.connectors.seatunnel.cdc.sqlserver.source.utils.TableDiscoveryUtils
 -      including 'testdb.dbo.sqlserver_cdc_to_greenplum_test' for further 
processing
   2023-04-02 14:20:25,076 INFO  
org.apache.seatunnel.connectors.seatunnel.cdc.sqlserver.source.utils.TableDiscoveryUtils
 -      including 'testdb.dbo.sqlserver_cdc_to_oracle' for further processing
   2023-04-02 14:20:25,079 INFO  io.debezium.jdbc.JdbcConnection - Connection 
gracefully closed
   2023-04-02 14:20:25,134 INFO  
org.apache.seatunnel.engine.server.task.SourceSplitEnumeratorTask - received 
enough reader, starting enumerator...
   2023-04-02 14:20:25,179 INFO  
org.apache.seatunnel.connectors.seatunnel.cdc.sqlserver.source.source.eumerator.SqlServerChunkSplitter
 - Start splitting table testdb.dbo.sqlserver_cdc_to_greenplum_test into chunks
   ```
   
   
   ### Flink or Spark Version
   
   2.3.1
   
   ### Java or Scala Version
   
   jdk 8
   
   ### Screenshots
   
   
![image](https://user-images.githubusercontent.com/116246658/229336799-b1b8e3e8-2a7e-4040-aee0-f7c1cb4ede12.png)
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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