Skip to content

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

@ashulin ashulin force-pushed the fix-oracle-numeric branch from 3dc58c6 to cc5d897 Compare November 4, 2021 05:40
@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 ashulin force-pushed the fix-oracle-numeric branch from cc5d897 to 66c498e Compare December 1, 2021 17:53
@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
ChaomingZhangCN pushed a commit to ChaomingZhangCN/flink-cdc that referenced this pull request Jan 13, 2025
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.

4 participants