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

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   通过jdbc 连接器从达梦数据库到MySQL数据库多表数据同步Source 不支持 NVARCAHR2 类型映射
   
   任务配置如下:
   
   {
     "env": {
       "parallelism": 1,
       "job.mode": "BATCH"
     },
     "source": [
       {
         "plugin_name": "Jdbc",
         "plugin_input": "source",
         "driver": "dm.jdbc.driver.DmDriver",
         "url": "jdbc:dm://1127.0.0.1:5236/sfsjzt",
         "user": "SYSDBA",
         "password": "SYSDBA001",
         "table_list": [
           {
             "table_path": "sfsjzt.test_nvarchar2"
           }
         ],
         "connection_check_timeout_sec": 100
       }
     ],
     "sink": [
       {
         "plugin_name": "Jdbc",
         "plugin_input": "sink",
         "url": 
"jdbc:mysql://127.0.0.1:3306/test?useSSL=false&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true",
 
         "driver": "com.mysql.cj.jdbc.Driver",
         "user": "root",
         "password": "testing", 
         "generate_sink_sql": true,
         "database": "test",
         "table": "${table_name}",
         "data_save_mode": "append_data",
         "schema_save_mode": "CREATE_SCHEMA_WHEN_NOT_EXIST",
         "connection_check_timeout_sec": 100,
         "batch_size": 1000
       }
     ]
   }
   
   ### SeaTunnel Version
   
   apache-seatunnel-2.3.8
   
   ### SeaTunnel Config
   
   ```conf
   单机测试环境
   ```
   
   ### Running Command
   
   ```shell
   ../bin/seatunnel.sh --config dm_all_table_collect.json -m local
   ```
   
   ### Error Exception
   
   ```log
   错误信息如下
   Caused by: org.apache.seatunnel.common.exception.SeaTunnelRuntimeException: 
ErrorCode:[COMMON-21], ErrorDescription:['Dameng' tables unsupported get 
catalog table,the corresponding field types in the following tables are not 
supported: 
'{"test.test_nvarchar2":{"id":"nvarchar2","name":"nvarchar2","age":"nvarchar2"}}'
   ```
   
   ### Zeta or Flink or Spark Version
   
   2.3.8
   
   ### Java or Scala Version
   
   jdk1.8
   
   ### Screenshots
   
   <img width="872" height="604" alt="Image" 
src="https://github.com/user-attachments/assets/f86312c7-8bd8-4894-96d2-28c6655980d0";
 />
   
   ### Are you willing to submit PR?
   
   - [ ] 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