[ 
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

Reply via email to