avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandre Normand (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1268) Add java-class, java-key-class and java-element-class support for stringable types to SpecificData
Date Thu, 21 Mar 2013 18:11:16 GMT

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

Alexandre Normand commented on AVRO-1268:
-----------------------------------------

Regarding AVRO-1277, I've been following the activity and it could help indeed. I'll be interested
in seeing the Perf numbers. I think the optimizations for AVRO-1268 and that other ticket
are complementary so both can be done in parallel. Hopefully, 1.7.5 will show good performance.


As for the parser-based solution, it would be great if you could jump on this. I'm really
more interested in seeing the best solution than getting my own code committed.  
Thanks!
                
> Add java-class, java-key-class and java-element-class support for stringable types to
SpecificData
> --------------------------------------------------------------------------------------------------
>
>                 Key: AVRO-1268
>                 URL: https://issues.apache.org/jira/browse/AVRO-1268
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.7.4
>            Reporter: Alexandre Normand
>            Assignee: Alexandre Normand
>            Priority: Minor
>             Fix For: 1.7.5
>
>         Attachments: AVRO-1268-needs-work.patch, AVRO-1268.patch, AVRO-1268.patch, AVRO-1268-performance.patch,
AVRO-1268.sh, GenericStringsPerf.patch, pseudo.patch, pseudo.patch
>
>
> Stringable types are java classes that can be serialized through strings (which require
a single string constructor and a valid toString() implementation). ReflectData currently
has support from stringable types but it would be desirable to get this feature with SpecificData.

> The work involves changes to the SpecificCompiler (depends on {{@java-class}} support
in AVRO-1267) to generate the specific sources with the proper java type as well as moving
the ReflectDatumReader and ReflectDatumWriter to read the java-class/java-key-class and java-element-class
properties. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message