[
https://issues.apache.org/jira/browse/AVRO-1275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp resolved AVRO-1275.
-------------------------------
Resolution: Fixed
Assignee: Daniel Kulp
Hadoop Flags: Incompatible change
> GenericData's toString() method generates the wrong JSON encoding for the
> bytes type
> ------------------------------------------------------------------------------------
>
> Key: AVRO-1275
> URL: https://issues.apache.org/jira/browse/AVRO-1275
> Project: Apache Avro
> Issue Type: Bug
> Components: java
> Reporter: Tom White
> Assignee: Daniel Kulp
> Priority: Major
> Fix For: 1.9.0
>
>
> We discovered in AVRO-1274 that for bytes GenericData.toString(Object datum)
> incorrectly generates
> {noformat}
> { "bytes" : "A" }
> {noformat}
> rather than just {{"A"}} for the JSON encoding defined in the spec
> (http://avro.apache.org/docs/current/spec.html#json_encoding).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)