You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Milind Bhandarkar (JIRA)" <ji...@apache.org> on 2011/03/09 21:30:59 UTC
[jira] Updated: (AVRO-779) Add Test for retention of schema
metadata in schema serialization
[ https://issues.apache.org/jira/browse/AVRO-779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Milind Bhandarkar updated AVRO-779:
-----------------------------------
Fix Version/s: 1.5.0
Status: Patch Available (was: Open)
Patch attached.
> Add Test for retention of schema metadata in schema serialization
> -----------------------------------------------------------------
>
> Key: AVRO-779
> URL: https://issues.apache.org/jira/browse/AVRO-779
> Project: Avro
> Issue Type: Test
> Components: java
> Affects Versions: 1.4.1
> Environment: All
> Reporter: Milind Bhandarkar
> Priority: Minor
> Fix For: 1.5.0
>
> Attachments: avro-779.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Schema metadata (i.e. non-avro metadata) must be retained in the string serialization (toString) of Schema. The forthcoming patch adds a test to TestSchema that ensures this retention. Basically, it tests for the invariant:
> <code>
> assertEquals(schema, Schema.parse(schema.toString()));
> </code>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira