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] Commented: (AVRO-6) Better support for using customized in memory types with Avro GenericDatumReader and GenericDatumWriter
Date Tue, 14 Apr 2009 20:23:14 GMT

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

Hong Tang commented on AVRO-6:
------------------------------

+1 Looks good to me.

> 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
>            Assignee: Hong Tang
>             Fix For: 1.0
>
>         Attachments: AVRO-6.patch, AVRO-6.patch, 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