pyyuhao commented on issue #10231:
URL: https://github.com/apache/seatunnel/issues/10231#issuecomment-3698247576

   > Using the ElasticSearch connector directly will automatically recognize 
OpenSearch
   
   Thanks a lot, it do works fine.
   
   However, I met another problem by using Seatunnel to migrate data from 
Elasticsearch to OpenSearch/Elasticsearch. 
   
   Since ES/OS' integer storage supports int 、array<int>、 array<array<int>>、 
array<array<array<int>>> ..... by define like this:
   
   "position_int": {
                 "type": "integer",
                 "doc_values": true,
                 "store": true
               },
   
   But Seatunnel only support array<int>. I met this error which I can't fix by 
trying all methods I can think
   
   Caused by: java.lang.NumberFormatException: For input string: 
"[[14,13,13,13,13]]"
           at 
java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
           at java.base/java.lang.Integer.parseInt(Integer.java:652)
           at java.base/java.lang.Integer.parseInt(Integer.java:770)
           at 
org.apache.seatunnel.connectors.seatunnel.elasticsearch.serialize.source.DefaultSeaTunnelRowDeserializer.convertValue(DefaultSeaTunnelRowDeserializer.java:163)
   
   Could you help me fix this?
   Or is this a bug? Or is this A rule that can't modify? 


-- 
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