sife0 commented on issue #8918:
URL: https://github.com/apache/seatunnel/issues/8918#issuecomment-4419171799

   > 之后,在测试 JDBC-SQLServer > MySQL 时,成功通过。 还是相同的源表,相同的目标库表。 只有 SQL SERVER CDC 
会出现之前的问题?
   > 
   > {
   >     "transform" : [],
   >     "sink" : [
   >         {
   >             "batch_size" : "1000",
   >             "primary_keys" : [
   >                 "StudentID"
   >             ],
   >             "max_retries" : "0",
   >             "create_index" : "true",
   >             "schema_save_mode" : "CREATE_SCHEMA_WHEN_NOT_EXIST",
   >             "source_table_name" : "Table16872703575584",
   >             "max_commit_attempts" : "3",
   >             "auto_commit" : "true",
   >             "plugin_name" : "Jdbc",
   >             "url" : 
"jdbc:mysql://xxx.xxx.xxx.xx:3306/testdb?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=Asia/Shanghai&autoReconnect=true",
   >             "is_exactly_once" : "false",
   >             "database" : "testdb",
   >             "password" : "******",
   >             "transaction_timeout_sec" : "-1",
   >             "driver" : "com.mysql.cj.jdbc.Driver",
   >             "data_save_mode" : "APPEND_DATA",
   >             "support_upsert_by_query_primary_key_exist" : "false",
   >             "connection_check_timeout_sec" : "30",
   >             "multi_table_sink_replica" : "1",
   >             "generate_sink_sql" : true,
   >             "user" : "root",
   >             "table" : "seatunnel_student"
   >         }
   >     ],
   >     "source" : [
   >         {
   >             "split.inverse-sampling.rate" : "1000",
   >             "parallelism" : "1",
   >             "query" : "SELECT [StudentID], [FirstName], [LastName], 
[BirthDate], [EnrollmentDate], [Major], [Email] FROM [TEST].[dbo].[Student]",
   >             "result_table_name" : "Table16872703575584",
   >             "split.even-distribution.factor.lower-bound" : "0.05",
   >             "plugin_name" : "Jdbc",
   >             "use_select_count" : "false",
   >             "url" : 
"jdbc:sqlserver://xxx.xxx.xxx.xxx:1444;databaseName=TEST;encrypt=true;trustServerCertificate=true",
   >             "skip_analyze" : "false",
   >             "password" : "******",
   >             "driver" : "com.microsoft.sqlserver.jdbc.SQLServerDriver",
   >             "split.even-distribution.factor.upper-bound" : "100.0",
   >             "split.sample-sharding.threshold" : "1000",
   >             "connection_check_timeout_sec" : "30",
   >             "fetch_size" : "0",
   >             "user" : "sa",
   >             "split.size" : "8096"
   >         }
   >     ],
   >     "env" : {
   >         "job.mode" : "BATCH",
   >         "job.name" : "SeaTunnel_Job",
   >         "savemode.execute.location" : "CLUSTER"
   >     }
   > }
   
   我 JDBC-SQLServer > Doris 
也报相同的问题,排查发现是datasource-hive-1.0.3-SNAPSHOT.jar里有sqlserver的旧版本驱动


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