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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Dave Cole (Jira)

     [ https://issues.apache.org/jira/browse/AVRO-3054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Perkins resolved AVRO-3054.
-------------------------------
    Fix Version/s: 1.11.0
     Release Note:
- Added validation for bytes decimal logical type attributes in Ruby.
- Fixed encoding/decoding for bytes decimal logical types in Ruby.

       Resolution: Fixed

> 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
>            Assignee: Tim Perkins
>            Priority: Major
>             Fix For: 1.11.0
>
>
> 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)