Avro
  1. Avro
  2. AVRO-1272

Ruby implementation does not handle namespaces correctly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.4
    • Fix Version/s: 1.7.5
    • Component/s: ruby
    • Labels:
      None

      Description

      The Ruby implementation of schema and protocol parsing violates the following statement in the Avro spec, with respect to name resolution: "the namespace is taken from the most tightly enclosing schema or protocol". Currently, any nested named types without explicit namespace property are taken as being in the default namespace, not in the enclosing schema/protocol's namespace.

      1. AVRO-1272.patch
        19 kB
        Martin Kleppmann

        Activity

        Doug Cutting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Doug Cutting made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Assignee Martin Kleppmann [ martinkl ]
        Fix Version/s 1.7.5 [ 12324096 ]
        Resolution Fixed [ 1 ]
        Martin Kleppmann made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Martin Kleppmann made changes -
        Field Original Value New Value
        Attachment AVRO-1272.patch [ 12572978 ]
        Martin Kleppmann created issue -

          People

          • Assignee:
            Martin Kleppmann
            Reporter:
            Martin Kleppmann
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development