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

[oracle] Fix Numeric type #560

Merged
merged 3 commits into from
Jan 6, 2022
Merged

Conversation

ashulin
Copy link
Member

@ashulin ashulin commented Nov 4, 2021

When the field type of oracle table is NUMBER or FLOAT type, it is processed as io.debezium.data.VariableScaleDecimal in debezium. In this case, the mapping will throw an exception for flink's INT/FLOAT and other numeric types.

Snipaste_2021-12-02_01-40-58

@leonardBang
Copy link
Contributor

Thanks @ashulin for the contribution, cc @luoyuxia could you help review this PR after the test completed ?

@luoyuxia
Copy link
Contributor

luoyuxia commented Nov 5, 2021

I'm glad to review.

@wuchong
Copy link
Member

wuchong commented Nov 12, 2021

Thanks @ashulin for the contribution. Could you describe what bug you want to fix? And could you also add a test which can reproduce the bug?

@ashulin
Copy link
Member Author

ashulin commented Dec 1, 2021

@luoyuxia Please take a look.

@ashulin ashulin changed the title [WIP][oracle] Fix Number and Float type#552 [oracle] Fix Number and Float type Dec 1, 2021
@ashulin ashulin changed the title [oracle] Fix Number and Float type [oracle] Fix Numeric type Dec 1, 2021
@ashulin
Copy link
Member Author

ashulin commented Dec 14, 2021

@leonardBang Please take a look.

@leonardBang leonardBang added this to the V2.2.0 milestone Dec 17, 2021
Copy link
Contributor

@leonardBang leonardBang left a comment

Choose a reason for hiding this comment

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

Thanks @ashulin for the update, LGTM

@leonardBang
Copy link
Contributor

The failed MongoDB test is not related to this PR, merging...

@leonardBang leonardBang merged commit 179bee7 into apache:master Jan 6, 2022
YesOrNo828 pushed a commit to YesOrNo828/flink-cdc-connectors that referenced this pull request Jan 12, 2022
rookie202010 pushed a commit to rookie202010/flink-cdc-connectors that referenced this pull request Jan 20, 2022
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

4 participants