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/05/07 22:02:45 UTC

[jira] Updated: (AVRO-8) permit default values for record fields

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

Doug Cutting updated AVRO-8:
----------------------------

    Attachment: AVRO-8.patch

This implements default fields for Java.  All tests pass.

> permit default values for record fields
> ---------------------------------------
>
>                 Key: AVRO-8
>                 URL: https://issues.apache.org/jira/browse/AVRO-8
>             Project: Avro
>          Issue Type: Improvement
>          Components: spec
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>         Attachments: AVRO-8.patch
>
>
> Record fields should permit the specification of default values in the schema.  When a record is read, and the written version contains no value for a field, the default value from the schema is used.

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