You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Mark Wagner (JIRA)" <ji...@apache.org> on 2013/02/01 03:33:13 UTC

[jira] [Updated] (AVRO-1228) Evolving schemas cause AvroColumnReader to fail

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

Mark Wagner updated AVRO-1228:
------------------------------

    Attachment: TestEvolvedSchema.java

I'm getting different default value behaviors between Avro and Trevni (with this patch) when there are records with default values (whose fields may or may not have default values). I've attached a revised test demonstrating this.
                
> Evolving schemas cause AvroColumnReader to fail
> -----------------------------------------------
>
>                 Key: AVRO-1228
>                 URL: https://issues.apache.org/jira/browse/AVRO-1228
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.7.3
>            Reporter: Mark Wagner
>            Assignee: Doug Cutting
>             Fix For: 1.7.4
>
>         Attachments: AVRO-1228.patch, TestEvolvedSchema.java, TestEvolvedSchema.java
>
>
> Giving AvroColumnReader an evolved schema (with a default value) to project down to causes a runtime exception, with a message of "No column named: *". As part of Trevni's support for Avro, additional columns should be given the default value.

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