You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Richard N. Hillegas (Jira)" <ji...@apache.org> on 2019/10/09 19:25:00 UTC
[jira] [Updated] (AVRO-2588) DatumWriter does not serialize
bytes-typed fields
[ https://issues.apache.org/jira/browse/AVRO-2588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard N. Hillegas updated AVRO-2588:
--------------------------------------
Attachment: avroByteSerialization.tar
> DatumWriter does not serialize bytes-typed fields
> -------------------------------------------------
>
> Key: AVRO-2588
> URL: https://issues.apache.org/jira/browse/AVRO-2588
> Project: Apache Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.9.1
> Reporter: Richard N. Hillegas
> Priority: Major
> Attachments: avroByteSerialization.tar
>
>
> When you use a DatumWriter to serialize a record, fields of "bytes" type are NOT serialized. You have to hand-serialize these fields using BinaryEncoder.writeBytes().
> I will attach a sample program which demonstrates this problem.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)