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

Using decimal.handling.mode=precision throws error #336

Open
suranjan opened this issue Jun 20, 2024 · 0 comments
Open

Using decimal.handling.mode=precision throws error #336

suranjan opened this issue Jun 20, 2024 · 0 comments
Assignees

Comments

@suranjan
Copy link
Collaborator

The default decimal handling mode is precision. The use of this mode fails with the exception. Caused by: org.apache.kafka.connect.errors.DataException: Decimal value has mismatching scale for given Decimal schema. Schema has scale -1, value has scale 0.

This is due to the decimal type metadata not present in the Debezium and using the default value to decode.

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

No branches or pull requests

2 participants