avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-1274) Add a schema builder API
Date Mon, 18 Mar 2013 13:10:16 GMT

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

Tom White updated AVRO-1274:

    Attachment: AVRO-1274.patch

> This subtlety is confusing, so glossing over it in the builder API by always generating
a default value of null for nullable fields with no other default value specified is probably

I agree - fixed in latest patch. I also added some tests for the different behaviour of defaults
at read and write time.

I addressed the nits too.
> Add a schema builder API
> ------------------------
>                 Key: AVRO-1274
>                 URL: https://issues.apache.org/jira/browse/AVRO-1274
>             Project: Avro
>          Issue Type: New Feature
>          Components: java
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: AVRO-1274.patch, AVRO-1274.patch, AVRO-1274.patch, AVRO-1274.patch,
AVRO-1274.patch, TestDefaults.patch
> It would be nice to have a fluent API that made it easier to construct record schemas.

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

View raw message