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

   ### 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
   
   Mysql-Cdc同步数据到kafka,某些字段自动转换成科学计数法
   
   ### SeaTunnel Version
   
   seatunnel-2.3.4
   
   ### SeaTunnel Config
   
   ```conf
   env {
     parallelism = 1
     job.mode = "STREAMING"
     checkpoint.interval = 15000
   }
   
   source {
     MySQL-CDC {
       result_table_name = "xxx"
       username = "xxx"
       password = "xxx"
       hostname = xxx
       base-url="jdbc:mysql://xxxxx/xxx"
       "startup.mode"=INITIAL
       table-names=[
           "xxx"
       ]
   
       # compatible_debezium_json options
       format = compatible_debezium_json
       debezium = {
           # include schema into kafka message
           key.converter.schemas.enable = false
           value.converter.schemas.enable = false
           # include ddl
           include.schema.changes = true
           # topic prefix
          database.server.name =  "xxxx"
       }
     }
   }
   
   sink {
     Kafka {
       source_table_name = "xxxx"
   
       bootstrap.servers = "xxxxx:9092"
   
       # compatible_debezium_json options
       format = compatible_debezium_json
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   sh bin/seatunnel.sh --config config/mysql2kafka
   ```
   
   
   ### Error Exception
   
   ```log
   Column2字段值显示为科学计数法
   
{"before":null,"after":{"Column1":2,"Column2":0E-12},"source":{"version":"1.6.4.Final","connector":"mysql","name":"dm","ts_ms":1718680791000,"snapshot":"false","db":"dm","sequence":null,"table":"zxxxe","server_id":1,"gtid":null,"file":"binlog.000009","pos":559866317,"row":0,"thread":null,"query":null},"op":"c","ts_ms":1718680791858,"transaction":null}
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   
![3C9D293C-5DCF-4728-A040-EB7352035A8C](https://github.com/apache/seatunnel/assets/126125945/714f2b0e-ebe4-4df5-943e-ed79cc6d0f98)
   
   
   ### 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