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

Bug: ClickHouseDataTypeMapper.java when duplicating messages from kafka #898

Open
salisbury-espinosa opened this issue Nov 4, 2024 · 0 comments
Milestone

Comments

@salisbury-espinosa
Copy link
Contributor

salisbury-espinosa commented Nov 4, 2024

you can watch it on Decimal type
when duplicating messages from kafka:

sink  | java.lang.NumberFormatException: Zero length BigInteger
sink  | 	at java.math.BigInteger.<init>(BigInteger.java:308) ~[?:?]
sink  | 	at java.math.BigInteger.<init>(BigInteger.java:336) ~[?:?]
sink  | 	at com.altinity.clickhouse.sink.connector.converters.ClickHouseDataTypeMapper.convert(ClickHouseDataTypeMapper.java:354)

1 envelope (pos=0):

sink  | [DEBUG] 2024-11-04 02:41:56.377 [Task: Sink Connector thread-pool-0askId] ClickHouseDataTypeMapper - scale 0, unscaledValueObject java.nio.HeapByteBuffer[pos=0 lim=3 cap=3]

2 envelope (pos=3):

sink  | [DEBUG] 2024-11-04 02:41:56.378 [Task: Sink Connector thread-pool-0askId] ClickHouseDataTypeMapper - scale 0, unscaledValueObject java.nio.HeapByteBuffer[pos=3 lim=3 cap=3]

is fixed in https://github.com/Altinity/clickhouse-sink-connector/pull/897/files

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