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

Spec wording on fullnames is not clear

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • spec
    • None

    Description

      Consider this Avro scheme:

      {
        "type": "record",
        "name": "a.b",
        "fields": [
          {
            "name": "c",
            "type":

      {         "type": "record",         "name": "d",         "fields": []       }

          }
        ]
      }

      What is fullname of record "d"? "a.d" or "d"? I think Avro specification is vague about this and should be fixed. When I attempt to interpret Avro spec literally, I get to conclusion that the fullname is "a.d". But this contradicts to my common sense.

       

      I asked on mailing list and got answer "a.d" ( https://lists.apache.org/thread/n0fjyv7c84zq21s9rwhffcxts72rmzq4 ). I still think spec should be fixed

      Attachments

        Activity

          People

            Unassigned Unassigned
            safinaskar Askar Safin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: