avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raymie Stata (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-806) add a column-major codec for data files
Date Wed, 05 Sep 2012 12:32:08 GMT

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

Raymie Stata commented on AVRO-806:
-----------------------------------

I'm strongly against option (1).  Trevni is clearly designed to use Avro (and Thrift and Protocol
Buffers).  Indeed, it's code is in org.apache.trevni, not org.apache.avro.trevni (which it
should be -- I'm not suggesting otherwise).  Further, I can imagine large number of Avro usages
-- perhaps the majority -- not wanting Trevni.  So it seems like option (1) creates unnecessary
coupling -- and just sets us up for refactoring the code base in the future.

Regarding option (2), I think that's bad for Trevni.  If you want to recruit members of the
Thrift and Protocol Buffers communities to the Trevni project, it seems like a mistake to
put Trevni into the Avro project.  You write "I worry that Trevni's too small to sustain an
independent community," but this has the danger of becoming a self-fulfilling prophesy.  For
example, as far as I can tell, the Thrift and Protocol Buffer communities are larger than
Avro's, so from a recruiting perspective, aren't you working to fulfill your "small community"
prophesy by dropping Trevni into the smallest community of the three?

However, if you believe that the Avro project is currently the best home for Trevni, then
I believe a top-level trevni/ directory in the Avro project is the right place for it.
                
> add a column-major codec for data files
> ---------------------------------------
>
>                 Key: AVRO-806
>                 URL: https://issues.apache.org/jira/browse/AVRO-806
>             Project: Avro
>          Issue Type: New Feature
>          Components: java, spec
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>         Attachments: AVRO-806.patch, AVRO-806-v2.patch, avro-file-columnar.pdf
>
>
> Define a codec that, when a data file's schema is a record schema, writes blocks within
the file in column-major order.  This would permit better compression and also permit efficient
skipping of fields that are not of interest.

--
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