You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/05/08 11:47:00 UTC

[jira] [Commented] (AVRO-3036) add schema matching for bytes decimal logical type in Ruby

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

ASF subversion and git services commented on AVRO-3036:
-------------------------------------------------------

Commit 389d35131af037bbf3bd5da739528a13191ade43 in avro's branch refs/heads/master from Tim Perkins
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=389d351 ]

AVRO-3036: add schema matching for decimal logical type in Ruby (#1082)

Includes schema support for fixed decimal logical types, but not encoding and decoding.

> add schema matching for bytes decimal logical type in Ruby
> ----------------------------------------------------------
>
>                 Key: AVRO-3036
>                 URL: https://issues.apache.org/jira/browse/AVRO-3036
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: ruby
>    Affects Versions: 1.10.1
>            Reporter: Tim Perkins
>            Assignee: Tim Perkins
>            Priority: Minor
>
> The Avro specification contains the following line:
> {quote}For the purposes of schema resolution, two schemas that are decimal logical types _match_ if their scales and precisions match.
> {quote}
> The Avro Ruby implementation only parses decimal logical types using a bytes schema.
> The need for matching support for bytes decimal logical types in Ruby was identified here: https://github.com/apache/avro/pull/918
>  



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