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-36408] Fix MySQL pipeline connector failed to parse FLOAT type with precision #3625

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

Conversation

yuxiqian
Copy link
Contributor

@yuxiqian yuxiqian commented Sep 30, 2024

Currently, MySQL SourceRecordEmitter treats FLOAT(x) (float with explicit precision) as a DOUBLE, but pipeline MetadataAccessor reports a plain "FLOAT", which causes discrepancy and corrupted deserialized data.

This bug should be fixed by adjusting MetadataAccessor logic (mapping FLOAT(x) to DOUBLE).

@yuxiqian
Copy link
Contributor Author

cc @ruanhang1993

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