You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "kwonder0926 (via GitHub)" <gi...@apache.org> on 2025/04/11 12:43:05 UTC
[PR] Fix: Schema Length Mismatch for ObjectId Non-id Fields in Collections [doris-flink-connector]
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-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] Fix: Schema Length Mismatch for ObjectId Non-id Fields in Collections [doris-flink-connector]
Posted by "JNSimba (via GitHub)" <gi...@apache.org>.
JNSimba merged PR #588:
URL: https://github.com/apache/doris-flink-connector/pull/588
--
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-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org