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

C: namespace "" should mean namespace = NULL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.9.0
    • c
    • None

    Description

      Similar to AVRO-1295 but for the C library. Namespace "" should be the NULL namespace when the schema is parsed. For example this breaks:

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

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

      ]}}
      ]}},

      {"name": "t", "type": "Z"}

      ]}
      ```

      Attachments

        1. AVRO-1902.patch
          4 kB
          Ben Walsh

        Activity

          People

            dkulp Daniel Kulp
            bw123 Ben Walsh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: