You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Patrick Linehan (JIRA)" <ji...@apache.org> on 2010/10/05 22:35:35 UTC

[jira] Updated: (AVRO-677) Avro schema not properly resolved on data file read.

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

Patrick Linehan updated AVRO-677:
---------------------------------

    Attachment: schema_test.tar.gz

A code sample which exhibits the problem.  According to the Avro spec, one should expect the "readSpecificRecordB" method to fail, but it does not.

> Avro schema not properly resolved on data file read.
> ----------------------------------------------------
>
>                 Key: AVRO-677
>                 URL: https://issues.apache.org/jira/browse/AVRO-677
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.4.0
>            Reporter: Patrick Linehan
>         Attachments: schema_test.tar.gz
>
>
> Based on the "schema resolution and record names" thread:
> http://mail-archives.apache.org/mod_mbox/avro-user/201010.mbox/thread
> When reading records from a data file of type namespace1.Record1 using a specific reader of type namespace2.Record2, reading succeeds even though schema resolution should fail.  Instead, this should require the use of aliases.
> I'll be attaching a code example shortly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.