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

Doug Cutting commented on AVRO-134:
-----------------------------------

> Add the key sync in the specification.

+1 We should certainly do this.

> Either drop the key codec in the specification or add code to support codec 
> in DataFileReader/DataFileWriter.

We should really add codec support.  Compression provides huge advantages, but, 
to remain splittability, compression needs to be chunked and sync markers need 
to be uncompressed.  I just filed AVRO-135 to address that.


> Mismatch between the spec and implementation of metadata blocks in files
> ------------------------------------------------------------------------
>
>                 Key: AVRO-134
>                 URL: https://issues.apache.org/jira/browse/AVRO-134
>             Project: Avro
>          Issue Type: Bug
>            Reporter: Thiruvalluvan M. G.
>
> The spec says there are three keys in metadata blocks - schema, count and 
> _codec_. But the code in DataFileWriter adds schema, count and _sync_. The 
> sync field is used by the DataFileReader. We need to do the following:
>    - Add the key sync in the specification.
>    - Either drop the key codec in the specification or add code to support 
> codec in DataFileReader/DataFileWriter. If we decide to have codec, we need 
> to also publish  in the spec the list of supported codecs with their names to 
> use in the metadata block.

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

Reply via email to