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

   ### 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
   
   
![image](https://github.com/user-attachments/assets/6b35c33a-be54-44e2-bf52-d3f5d95f2b43)
   Cannot create mysql-cdc source as it does not support the set data type of 
MySQL database
   
   ### SeaTunnel Version
   
   2.3.6
   
   ### SeaTunnel Config
   
   ```conf
   env {
           job.mode = "STREAMING"
           parallelism = 3
           checkpoint.interval = 3000
   }
   
   source {
           MySQL-CDC {
                   base-url = "jdbc:mysql://*******:3306/wanlshop"
                   username = "****"
                   password = "****"
                   table-names = ["wanlshop.fa_wanlshop_category"]
                   #startup.mode = "earliest"
                   snapshot.split.size = 100000
           }
   }
   transform {
     Filter {
       exclude_fields = [flag]
     }
   }
   
   sink {
       Doris {
           fenodes = "*********"
           query-port = 9030
           username = "****"
           password = "****"
           database = "seatunnel_test"
           table = "${table_name}"
           sink.enable-2pc = "true"
           sink.enable.delete = "true"
           sink.label-prefix = "seatunnel_test_lable"
           doris.config = {
               format="json"
               read_json_by_line="true"
           }
       }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   sh seatunnel.sh --config wanlshop.sh
   ```
   
   
   ### Error Exception
   
   ```log
   Caused by: org.apache.seatunnel.common.exception.SeaTunnelRuntimeException: 
ErrorCode:[COMMON-21], ErrorDescription:['MySQL' tables unsupported get catalog 
table,the corresponding field types in the following tables are not supported: 
'{"wanlshop.fa_wanlshop_category":{"flag":"SET"}}']
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   Zeta
   
   ### Java or Scala Version
   
   jdk1.8.0_333
   
   ### Screenshots
   
   _No response_
   
   ### 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