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

org.apache.avro.Protocol.parseMessage doesn't respect request field's aliases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.9.0
    • 1.8.1
    • java
    • None

    Description

      Avro specification (https://avro.apache.org/docs/1.8.0/spec.html#Aliases "Named types and fields may have aliases") and Idl compiler supports aliases on request's fields. But org.apache.avro.Protocol.parseMessage have a special code to parse request body (not the same as for an ordinary record) and during field parsing we don't keep info about aliases. So it leads to lack of important functionality supporting protocol refactoring with backward compatibility.

      Attachments

        Issue Links

          Activity

            People

              DrVirtual Konstantin Usachev
              DrVirtual Konstantin Usachev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: