Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-3036

add schema matching for bytes decimal logical type in Ruby

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.10.1
    • Fix Version/s: 1.11.0
    • Component/s: ruby
    • Labels:
      None
    • Release Note:
      Hide
      - Added schema matching for decimal logical types in Ruby implementation.
      - Added schema support for fixed decimal logical types in Ruby implementation. Encoding/decoding is not yet implement for fixed decimal logical types.
      Show
      - Added schema matching for decimal logical types in Ruby implementation. - Added schema support for fixed decimal logical types in Ruby implementation. Encoding/decoding is not yet implement for fixed decimal logical types.

      Description

      The Avro specification contains the following line:

      For the purposes of schema resolution, two schemas that are decimal logical types match if their scales and precisions match.

      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

       

        Attachments

          Activity

            People

            • Assignee:
              tjwp Tim Perkins
              Reporter:
              tjwp Tim Perkins

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment