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

Avro-C: namespace lookup and inherited namespaces

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.4, 1.7.5, 1.8.0
    • None
    • c
    • None

    Description

      It seems that the C version of Avro doesn't resolve fully-qualified type names, and it doesn't
      understand inherited namespaces.

      For example this doesn't work:

      {"type": "record", "namespace": "x", "name": "Y", "fields": [
      {"name": "e", "type": {"type": "record", "name": "Z", "fields": [

      {"name": "f", "type": "x.Z"}

      ]}}
      ]}

      It can't find the type "x.Z".

      (this is similar to a Ruby problem https://issues.apache.org/jira/browse/AVRO-635).

      Attachments

        1. AVRO-1324.patch
          18 kB
          Ben Walsh

        Activity

          People

            Unassigned Unassigned
            bw123 Ben Walsh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: