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

Rust: Wrong [ORDER] for Parsing Canonical Form

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.11.1, 1.12.0
    • rust
    • None

    Description

      https://avro.apache.org/docs/current/spec.html#Parsing+Canonical+Form+for+Schemas says:

       

      [ORDER] Order the appearance of fields of JSON objects
                as follows: name, type,
                fields, symbols,
                items, values, size.
                For example, if an object has type,
                name, and size fields, then the
                name field should appear first, followed by the
                type and then the size fields. 

       

      Current master branch has "logicalType" between "values" and "size": https://github.com/apache/avro/blob/f0b183f2773165e616ec22ed6c32f60cc5b961fe/lang/rust/avro/src/schema.rs#L1513-L1515

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: