xuqinghuang opened a new issue, #546:
URL: https://github.com/apache/doris-flink-connector/issues/546

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Description
   
   mongo data
   ```
   db.cdc_test.insertOne({
       c_string: "Hello, MongoDB!",
       c_bool: true,
       c_int: 123456,
       c_long: NumberLong("1234567890123456789"),
       c_double: 123.45,
       c_decimal: new Decimal128("12345.67"),
       c_date: new Date(),
       c_timestamp: new Timestamp(1334567890, 1),
       c_object: { "key1": "value1", "key2": "value2" },
       c_array: ["str1","str2", 789]
   });
   ```
   There are 2 questions
   1. The timestamp type of mongo becomes string in doris, and when written to 
doris, it becomes like this
   
   
![Image](https://github.com/user-attachments/assets/40346ba3-e35d-4d06-a173-a17597aee6ba)
   
   2. In the MongoDBType.toDorisType method, the array type of mongo is 
actually collected as List. And the returned array type should be array<T>. 
   
![Image](https://github.com/user-attachments/assets/19316b1b-9196-42da-b8dd-31cecc1ba645)
   
   ### Solution
   
   _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...@doris.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to