[jira] [Commented] (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] [Commented] (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:comment-tabpanel&focusedCommentId=17345056#comment-17345056 ]

ASF subversion and git services commented on AVRO-3054:

Commit df51e78752030c5ac929bd9adbb6fe1739a28485 in avro's branch refs/heads/master from Andrew Thauer
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=df51e78 ]

AVRO-3054: Fix / support decimal logical type in Ruby (#1102)

Co-authored-by: Johannes Vetter <[hidden email]>
Co-authored-by: Keith Gable <[hidden email]>

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