You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2009/09/23 21:37:15 UTC

[jira] Created: (AVRO-121) expected schema should be specifiable by specific & reflect datum readers

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


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.


[jira] Updated: (AVRO-121) expected schema should be specifiable by specific & reflect datum readers

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (AVRO-121) expected schema should be specifiable by specific & reflect datum readers

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated AVRO-121:
------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this.

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


[jira] Updated: (AVRO-121) expected schema should be specifiable by specific & reflect datum readers

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated AVRO-121:
------------------------------

    Fix Version/s: 1.2.0
           Status: Patch Available  (was: Open)

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