avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hong Tang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-6) Better support for using customized in memory types with Avro GenericDatumReader and GenericDatumWriter
Date Mon, 13 Apr 2009 23:44:14 GMT

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

Hong Tang updated AVRO-6:
-------------------------

    Attachment: avro-6.patch

New patch incorporated the comments from Doug.

> Better support for using customized in memory types with Avro GenericDatumReader and
GenericDatumWriter
> -------------------------------------------------------------------------------------------------------
>
>                 Key: AVRO-6
>                 URL: https://issues.apache.org/jira/browse/AVRO-6
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.0
>            Reporter: Hong Tang
>             Fix For: 1.0
>
>         Attachments: avro-6.patch, avro-6.patch
>
>
> Currently Avro's GenericDatumReader/Writer requires Record, Array, and Map be subclasses
of GenericRecord, GenericArray, and Map. Additionally, STRING and BYTES are mapped to Utf8
and ByteBuffer. Finally, Record fields are accessed through field names, this may be less
efficient if a user-defined record class supports field access by positions (such as PIG Tuples).
> I suggest we improve the interface to (1) have more flexibility to use user-types with
Avro; (2) support access to RECORDs by either field names or field positions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message