Askar Safin created AVRO-3276:
---------------------------------

             Summary: Spec wording on fullnames is not clear
                 Key: AVRO-3276
                 URL: https://issues.apache.org/jira/browse/AVRO-3276
             Project: Apache Avro
          Issue Type: Bug
          Components: spec
            Reporter: Askar Safin


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



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to