[
https://issues.apache.org/jira/browse/AVRO-684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926468#action_12926468
]
Doug Cutting commented on AVRO-684:
-----------------------------------
This looks good to me.
A test is required before this can be committed.
Concatenation can and probably should be done as a separate follow-on issue.
Metadata would be nice to have from the start, but could also be done as a
separate issue later.
> Java tool for altering the codec of an Avro data file stream.
> -------------------------------------------------------------
>
> Key: AVRO-684
> URL: https://issues.apache.org/jira/browse/AVRO-684
> Project: Avro
> Issue Type: New Feature
> Components: java
> Reporter: Patrick Linehan
> Attachments: AVRO-684.patch
>
>
> An example is worth a thousand words:
> cat infile.avro | avro-tools recodec deflate - - > outfile.avro
> The above example would create a new file, "outfile.avro", with the same
> contents as "infile.avro". However, the codec of "outfile.avro" would be
> "deflate", regardless of the codec of "infile.avro".
> Proposed features:
> * The tool should preserve any metadata present in the input file.
> * Supported codecs will be "deflate" and "null".
> * Optionally add support for specifying the deflation level, perhaps with
> syntax as follows: "deflate:N" where N is the deflation level, e.g.
> "deflate:4".
> Does this proposal sound reasonable?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.