[
https://issues.apache.org/jira/browse/AVRO-906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Douglas Kaminsky updated AVRO-906:
----------------------------------
Attachment: PTest.java
> Inconsistent ordering of field props
> -------------------------------------
>
> Key: AVRO-906
> URL: https://issues.apache.org/jira/browse/AVRO-906
> Project: Avro
> Issue Type: Bug
> Components: java
> Reporter: Douglas Kaminsky
> Attachments: PTest.java
>
>
> When a schema/protocol is written and read back in (see attached example) via
> Protocol.parse, the field ordering is not guaranteed to be preserved because
> the "Props" object extends HashMap, which has no ordering contract.
> Recommend switching to a Map implementation with an ordering guarantee.
> (Identified in Avro 1.5.1 - please verify against 1.5.4)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira