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

add schema matching for bytes decimal logical type in Ruby

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.10.1
    • 1.11.0
    • ruby
    • None
    • 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

            tjwp Tim Perkins
            tjwp Tim Perkins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: