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][flink-cdc] Improve the compatibility of getting kafka-cdc precision and scale #3334

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Lvbm
Copy link

@Lvbm Lvbm commented May 14, 2024

Purpose
Fixed the problem that when using kafka-cdc for data synchronization, when the field type of the data source is float(10,2) or double(8), an exception message will appear when getPrecision and getScale: just like … :java.lang.NumberFormatException: For input string: "10,2", or java.lang.NumberFormatException: For input string: "DOUBLE(8" ...

Tests
API and Format
Documentation

… when the field type of the data source is float(10,2) or double(8), an exception message will appear when getPrecision and getScale: just like … :java.lang.NumberFormatException: For input string: "10,2", or java.lang.NumberFormatException: For input string: "DOUBLE(8" ...
@Lvbm
Copy link
Author

Lvbm commented May 22, 2024

@JingsongLi please review,thanks

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

Successfully merging this pull request may close these issues.

None yet

1 participant