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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.0
    • Fix Version/s: 1.8.1
    • Component/s: java
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: