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

   ### 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' unsupported convert SeaTunnel data type 'ROW' of 'geo' to connector 
data type.这个如何解决,我需要将从mongodb中获取的row同步到mysql中
   
   ### SeaTunnel Version
   
   2.3.5
   
   ### SeaTunnel Config
   
   ```conf
   {
       "env" : {
           "parallelism" : 1,
           "job.mode" : "STREAMING",
           "checkpoint.interval" : 5000
       },
       "source" : [
           {
               "schema" : {
                   "fields" : {
                       "_id" : "string",
                       "geo" : {
                           "chooseLatitude" : "double"
                       }
                   }
               },
               "database" : [
                   "jgj"
               ],
               "password" : "suzhoujgj",
               "connection.options" : "authSource=jgj",
               "hosts" : "121.4.183.65:47017",
               "collection" : [
                   "jgj.aunts"
               ],
               "plugin_name" : "MongoDB-CDC",
               "username" : "jgj_admin"
           }
       ],
       "transform" : [
           {
               "columns" : [
                   {
                       "src_field" : "geo",
                       "path" : "$[0]",
                       "dest_field" : "chooseLatitude"
                   }
               ],
               "source_table_name" : "aunts",
               "result_table_name" : "aunt",
               "plugin_name" : "JsonPath"
           }
       ],
       "sink" : [
           {
               "password" : "Ruichie@0512",
               "database" : "jgj_test",
               "primary_keys" : [
                   "_id"
               ],
               "driver" : "com.mysql.cj.jdbc.Driver",
               "generate_sink_sql" : true,
               "plugin_name" : "jdbc",
               "user" : "ruichie_db",
               "url" : 
"jdbc:mysql://rm-uf6281f8a307463mjxo.mysql.rds.aliyuncs.com:3306",
               "table" : "aunt"
           }
       ]
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/seatunnel.sh --config ./config/test -e local
   ```
   
   
   ### Error Exception
   
   ```log
   'MySQL' unsupported convert SeaTunnel data type 'ROW' of 'geo' to connector 
data type.
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### 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: commits-unsubscr...@seatunnel.apache.org.apache.org

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

Reply via email to