avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1533) permit promotions between string and bytes
Date Tue, 01 Jul 2014 21:34:24 GMT

    [ https://issues.apache.org/jira/browse/AVRO-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14049349#comment-14049349
] 

ASF subversion and git services commented on AVRO-1533:
-------------------------------------------------------

Commit 1607197 from [~cutting] in branch 'avro/trunk'
[ https://svn.apache.org/r1607197 ]

AVRO-1533. Java: In schema resolution, permit conversion between bytes and string.

> permit promotions between string and bytes
> ------------------------------------------
>
>                 Key: AVRO-1533
>                 URL: https://issues.apache.org/jira/browse/AVRO-1533
>             Project: Avro
>          Issue Type: New Feature
>          Components: java
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.7.7
>
>         Attachments: AVRO-1533.patch, AVRO-1533.patch
>
>
> Avro strings are a subset of bytes, so promoting from string to bytes is lossless and
should be possible.  Promotion from bytes to strings may cause problems, as not all byte strings
are valid UTF8, but it also might be useful.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message