avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Kleppmann (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-1272) Ruby implementation does not handle namespaces correctly
Date Sun, 10 Mar 2013 17:33:12 GMT

     [ https://issues.apache.org/jira/browse/AVRO-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Kleppmann updated AVRO-1272:
-----------------------------------

    Attachment: AVRO-1272.patch

Attached a suite of test cases that reproduces the problem, and a patch that fixes it. I have
had to add method parameters in various places, but I have made them optional, so this is
a backwards-compatible API change.
                
> Ruby implementation does not handle namespaces correctly
> --------------------------------------------------------
>
>                 Key: AVRO-1272
>                 URL: https://issues.apache.org/jira/browse/AVRO-1272
>             Project: Avro
>          Issue Type: Bug
>          Components: ruby
>    Affects Versions: 1.7.4
>            Reporter: Martin Kleppmann
>         Attachments: AVRO-1272.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message