newsuperchao opened a new issue, #1447:
URL: https://github.com/apache/incubator-paimon/issues/1447

   ### Search before asking
   
   - [X] I searched in the 
[issues](https://github.com/apache/incubator-paimon/issues) and found nothing 
similar.
   
   
   ### Motivation
   
   I am using Flink CDC to capture changes from a MySQL database and write into 
a Paimon table. I'm facing an issue related to length validation for `char` and 
`varchar` types.
   
   When the fields contain special characters or garbled characters, Paimon's 
field validation fails due to mismatched lengths. The system interprets this as 
a schema change and keeps waiting for an updated schema to be passed in, 
blocking the process indefinitely.
   
   This can cause significant problems when dealing with real-world data that 
often includes special or unexpected characters.
   
   I'm wondering if there's a way to either disable this validation, or make it 
optional specifically for these field types (`char`, `varchar`). This would 
improve the flexibility and robustness of the CDC integration with Paimon.
   
   Thanks for considering this issue.
   
   
   ### Solution
   
   The system should either ignore length mismatches for `char` and `varchar` 
types, or provide an option to disable this validation.
   
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


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