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

Ryan Blue commented on PARQUET-420:
-----------------------------------

Thanks for taking the time to put this together, [~nicolasr]. It looks like 
you're implementing the Converter/RecordMaterializer interfaces to do this, 
which I generally think of as interfaces for object model (e.g., Avro, 
Protobuf) implementers rather than applications. What was your rationale for 
that?

The reason why I'm wondering is that Avro can read and write your Java objects 
using Avro's reflection support. That would be an easier way to accomplish the 
same thing. Did you need to write your own object model for performance? It may 
have been that it isn't very clear how Avro could handle this for you and, if 
so, we should fix the docs!

> Provide example to write/save your own object (without thrift, avro, protoc)
> ----------------------------------------------------------------------------
>
>                 Key: PARQUET-420
>                 URL: https://issues.apache.org/jira/browse/PARQUET-420
>             Project: Parquet
>          Issue Type: Wish
>            Reporter: Nicolas Romanetti
>
> I am studying parquet and found that it is not so easy to grasp the basic 
> mechanism for writing/reading your own objects to a parquet file when you are 
> not using protocol buffer, avro or thrift.
> So my wish is to have a module that cover this topic.
> I think for educational purposes it may have some value as it would help 
> people get into the code.
> I did the exercice, the code is here:
> https://github.com/nromanetti/parquet-mr/tree/master/parquet-manual



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to