avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-1533) permit promotions between string and bytes
Date Fri, 27 Jun 2014 18:22:25 GMT

     [ https://issues.apache.org/jira/browse/AVRO-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doug Cutting updated AVRO-1533:
-------------------------------

    Attachment: AVRO-1533.patch

Here's a patch that implements promotion from string to bytes.

> 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
>         Attachments: 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