[ https://issues.apache.org/jira/browse/AVRO-393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting updated AVRO-393: ------------------------------ Resolution: Fixed Fix Version/s: 1.3.0 Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) I just committed this. I made two minor changes: - in the test, I specified "UTF-8", as String#getBytes() uses the installation's default encoding by default. - i also used 2-space-per-level indentation Thanks, Jeff! > byte[] constructor for Utf8 desired > ----------------------------------- > > Key: AVRO-393 > URL: https://issues.apache.org/jira/browse/AVRO-393 > Project: Avro > Issue Type: New Feature > Reporter: Jeff Hodges > Assignee: Jeff Hodges > Priority: Minor > Fix For: 1.3.0 > > Attachments: byte_utf8.patch > > > We've come across a few use cases where we know that a given byte array is > properly Utf8 encoded, but Utf8 has no constructor to take it. Instead, we > have to turn it into a String first just to have it swapped back. This is > sucky. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.