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

   ### 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
   
   单条数据样例(json文件):
   ```
   {"title_id": "6983391346966944997", "title_name": "第33届夏季奥林匹克运动会开幕式", 
"title_content": "第33届夏季奥林匹克运动会开幕式 ", "title_vector": [-0.05709417536854744, 
0.03787574544548988, -0.009181277826428413, 0.01265987940132618]}
   ```
   
   启动配置:
   ```
   env {
     parallelism = 2
     job.mode = "BATCH"
     checkpoint.interval = 10000
   }
   
   source {
     LocalFile {
       path = "/data/public/qim/data/A/A.json"
       file_format_type = "JSON"
       schema {
           fields {
                   title_id = string
                   title_name = string
                   title_content = string
                   title_vector = array
           }
     }
     }
   }
   
   sink {
      Elasticsearch {
          hosts = ["http://******:9200";]
          index = "title-search"
          username = "test"
          password = "******"
          tls_verify_certificate = false
      }
   }
   ```
   
   报错信息:
   ```
   ErrorCode:[COMMON-07], ErrorDescription:['SeaTunnel' unsupported data type 
'array' of 'title_vector']
   ```
   
   ### SeaTunnel Version
   
   2.3.8
   
   ### SeaTunnel Config
   
   ```conf
   env {
     parallelism = 2
     job.mode = "BATCH"
     checkpoint.interval = 10000
   }
   
   source {
     LocalFile {
       path = "/data/public/qim/data/A/A.json"
       file_format_type = "JSON"
       schema {
           fields {
                   title_id = string
                   title_name = string
                   title_content = string
                   title_vector = array
           }
     }
     }
   }
   
   sink {
      Elasticsearch {
          hosts = ["http://******:9200";]
          index = "title-search"
          username = "test"
          password = "******"
          tls_verify_certificate = false
      }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   $SEATUNNEL_HOME/bin/seatunnel.sh --config 
$SEATUNNEL_HOME/config/csv_es.config -m local
   ```
   
   
   ### Error Exception
   
   ```log
   ErrorCode:[COMMON-07], ErrorDescription:['SeaTunnel' unsupported data type 
'array' of 'title_vector']
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   java8
   
   ### Screenshots
   
   
![image](https://github.com/user-attachments/assets/4a6a8fb4-6ced-4f89-8c82-68e68b9e1d93)
   
   
   ### 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