You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Andrew Thauer (Jira)" <ji...@apache.org> on 2021/02/23 16:24:00 UTC

[jira] [Created] (AVRO-3054) Logical decimal types do not serialize properly in ruby

Andrew Thauer created AVRO-3054:
-----------------------------------

             Summary: Logical decimal types do not serialize properly in ruby
                 Key: AVRO-3054
                 URL: https://issues.apache.org/jira/browse/AVRO-3054
             Project: Apache Avro
          Issue Type: Bug
          Components: ruby
            Reporter: Andrew Thauer


BigDecimal handling in the avro ruby gem is not working properly. When a field is encoded with the logicalType decimal, the resulting value ends up being encoded bytes. The issue [AVRO-2677|https://github.com/apache/avro/pull/918] attempted to fix this but doesn't fully work.

There is an [Open PR|https://github.com/apache/avro/pull/918/] that fixes addresses the existing problem, but references the closed issue [AVRO-2677|https://github.com/apache/avro/pull/918]. This issues is meant to track fixing the fully issue.

Also related:
 * [https://github.com/apache/avro/pull/1082]
 * https://issues.apache.org/jira/browse/AVRO-3036



--
This message was sent by Atlassian Jira
(v8.3.4#803005)