[
https://issues.apache.org/jira/browse/KAFKA-9667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Coates updated KAFKA-9667:
-------------------------------
Description:
The Connect Json serde was recently enhanced to support serializing decimals as
standard JSON numbers, e.g. `1.23`. However, there is a bug in the
implementation: it's stripping trailing zeros! `1.23` is _not_ the same as
`1.230`. Trailing zeros should not be dropped when de(serializing) decimals.
Original work done under KAFKA-8595
was:
The Connect Json serde was recently enhanced to support serializing decimals as
standard JSON numbers, e.g. `1.23`. However, there is a bug in the
implementation: it's stripping trailing zeros! `1.23` is _not_ the same as
`1.230`. Trailing zeros should not be dropped when de(serializing) decimals.
Original work done under KAFKA-8595
> Connect JSON serde strip trailing zeros
> ---------------------------------------
>
> Key: KAFKA-9667
> URL: https://issues.apache.org/jira/browse/KAFKA-9667
> Project: Kafka
> Issue Type: Bug
> Components: KafkaConnect
> Affects Versions: 2.4.0
> Reporter: Andy Coates
> Assignee: Andy Coates
> Priority: Major
>
> The Connect Json serde was recently enhanced to support serializing decimals
> as standard JSON numbers, e.g. `1.23`. However, there is a bug in the
> implementation: it's stripping trailing zeros! `1.23` is _not_ the same as
> `1.230`. Trailing zeros should not be dropped when de(serializing) decimals.
>
> Original work done under KAFKA-8595
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)