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

   ### 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
   
   postgrescdc 
compatible_debezium_json当数据库字段类型有NUMERIC(24)这种报java.lang.ClassCastException: 
java.math.BigDecimal cannot be cast to java.lang.String
   
   ### SeaTunnel Version
   
   2.3.9
   
   ### SeaTunnel Config
   
   ```conf
   {
       "env": {
           "job.mode": "STREAMING",
           "execution.parallelism": 1,
           "checkpoint.interval": 5000,
           "read_limit.bytes_per_second": 7000000,
           "read_limit.rows_per_second": 400
       },
       "source": [
           {
               "plugin_name": "Postgres-CDC",
               "plugin_output": "customers_Postgre_cdc",
               "username": "",
               "password": "",
               "database-names": [
                   "postgres"
               ],
               "schema-names": [
                   "public"
               ],
               "table-names": [
                   "postgres.public.test"
               ],
               "base-url": "",
               "format":"compatible_debezium_json",
               "debezium":{
                   "key.converter.schemas.enable":false,
                   "value.converter.schemas.enable":false
               }
           }
       ],
       "transform": [],
       "sink": [
           {
               "plugin_name": "Console",
               "plugin_output": "customers_Postgre_cdc",
               "format":"compatible_debezium_json"
           }
       ]
   }
   ```
   
   ### Running Command
   
   ```shell
   rest api submit-job
   ```
   
   ### Error Exception
   
   ```log
   java.lang.ClassCastException: java.math.BigDecimal cannot be cast to 
java.lang.String
   ```
   
   ### Zeta or Flink or Spark Version
   
   zeta
   
   ### Java or Scala Version
   
   1.8
   
   ### Screenshots
   
   _No response_
   
   ### 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: commits-unsubscr...@seatunnel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to