You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Andy Coates (Jira)" <ji...@apache.org> on 2020/03/05 17:33:00 UTC
[jira] [Created] (KAFKA-9667) Connect JSON serde strip trailing
zeros
Andy Coates created KAFKA-9667:
----------------------------------
Summary: 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
Reporter: Andy Coates
Assignee: Andy Coates
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)