Flink CDC Issue Import created FLINK-34785:
----------------------------------------------
Summary: [bug] MySQL using utf8_ general_ Ci encoding, splitting
will end prematurely
Key: FLINK-34785
URL: https://issues.apache.org/jira/browse/FLINK-34785
Project: Flink
Issue Type: Improvement
Components: Flink CDC
Reporter: Flink CDC Issue Import
### Search before asking
- [X] I searched in the
[issues|https://github.com/ververica/flink-cdc-connectors/issues) and found
nothing similar.
### Motivation
Support mysql primary keys using encoding types different from ASCII , in
MySQL, the primary key uses utf8_ general_ Ci encoding type, ignoring case when
sorting. The `ObjectUtils.compare(chunkEnd, max]` code comparison is based on
ASCII, which will cause the split to end prematurely.
### Solution
_No response_
### Alternatives
_No response_
### Anything else?
_No response_
### Are you willing to submit a PR?
- [X] I'm willing to submit a PR!
---------------- Imported from GitHub ----------------
Url: https://github.com/apache/flink-cdc/issues/2075
Created by: [fuyun2024|https://github.com/fuyun2024]
Labels: enhancement,
Created at: Fri Apr 07 19:17:05 CST 2023
State: open
--
This message was sent by Atlassian Jira
(v8.20.10#820010)