Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-36282][pipeline-connector][cdc-connector][mysql]fix incorrect data type of TINYINT(1) in mysql pipeline connector #3608

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

qg-lin
Copy link
Contributor

@qg-lin qg-lin commented Sep 15, 2024

This PR is about to convert TINYINT(1) to different data type in CreataTableEvent via MySQL's tinyintIsBit parameter.
JIRA: https://issues.apache.org/jira/browse/FLINK-36282

…data type of TINYINT(1) in mysql pipeline connector
Comment on lines +48 to +50
DebeziumChangelogMode.ALL,
sourceConfig.isIncludeSchemaChanges(),
sourceConfig.getJdbcProperties());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm thinking if we need to pass the whole JdbcProperties into the deserializer, since tinyInt1isBit is the only key that relevant to type deserialization. Maybe passing a boolean tinyInt1isBit is enough?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants