avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linehan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-677) Avro schema not properly resolved on data file read.
Date Tue, 05 Oct 2010 20:35:35 GMT

     [ 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.


Mime
View raw message