[ 
https://issues.apache.org/jira/browse/KAFKA-9667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17052553#comment-17052553
 ] 

Andy Coates edited comment on KAFKA-9667 at 3/5/20, 10:25 PM:
--------------------------------------------------------------

Patch available:  [https://github.com/apache/kafka/pull/8230]


was (Author: bigandy):
[https://github.com/apache/kafka/pull/8230]

> 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)

Reply via email to