avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-121) expected schema should be specifiable by specific & reflect datum readers
Date Wed, 23 Sep 2009 19:41:16 GMT

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

Doug Cutting updated AVRO-121:

    Attachment: AVRO-121.patch

Adds a setExpected(Schema) method.  Also, when the single-schema constructor is used, the
expected schema now defaults to that passed in.  This means that, when a so-constructed datum
reader is passed to a container (e.g., a DataFileReader), and setSchema(Schema) is called
with the schema used to write the container, the schema used in the constructor will be used
as the "expected" schema, as intended.

> expected schema should be specifiable by specific & reflect datum readers
> -------------------------------------------------------------------------
>                 Key: AVRO-121
>                 URL: https://issues.apache.org/jira/browse/AVRO-121
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>            Priority: Critical
>             Fix For: 1.2.0
>         Attachments: AVRO-121.patch
> The generic datum reader supports the specification of an 'expected' schema, that may
differ from that used to write the data.  The specific and reflect datum readers are based
on the generic, but do not permit the specification of this and hence cannot support reading
alternate versions of data.

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

View raw message