kwonder0926 opened a new pull request, #588:
URL: https://github.com/apache/doris-flink-connector/pull/588

   # Proposed changes
   
   When a non-id field in a collection has a value of ObjectId type, an error 
is reported with the following message:
   
   ```
   Reason: column_name[objectIdField], the length of input is too long than 
schema. first 32 bytes of input str: [{‘$oid’:‘67f8e2503d1bd029812b776’}] 
schema length: 30; actual length: 35; . src line [];
   ```
   
   This occurs because when the ObjectId is converted to a string, it takes the 
form: {‘$oid’:‘67f8e2503d1bd029812b7767’}. The length becomes 35, which exceeds 
the predefined varchar(30) limit.
   
   ## Problem Summary:
   
   
   ## Checklist(Required)
   
   Does it affect the original behavior: No
   Has unit tests been added: No Need
   Has document been added or modified: No Need
   Does it need to update dependencies: No)
   Are there any changes that cannot be rolled back: No
   
   ## Further comments
   
   Only the length of the ObjectId type when converted to Varchar type was 
changed.
   


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

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