You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Tom White (JIRA)" <ji...@apache.org> on 2011/08/30 23:47:13 UTC

[jira] [Updated] (AVRO-881) Add tool to list data file metadata

     [ https://issues.apache.org/jira/browse/AVRO-881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated AVRO-881:
---------------------------

    Attachment: AVRO-881.patch

Example usage:

{noformat}
$ java -jar avro-tools-1.6.0-SNAPSHOT.jar getmeta weather-snappy.avro
avro.codec	snappy
avro.schema	{"type":"record","name":"Weather","namespace":"test","doc":"A weather reading.","fields":[{"name":"station","type":"string"},{"name":"time","type":"long"},{"name":"temp","type":"int"}]}
$ java -jar avro-tools-1.6.0-SNAPSHOT.jar getmeta weather-snappy.avro --key avro.codec 
snappy
{noformat}

> Add tool to list data file metadata
> -----------------------------------
>
>                 Key: AVRO-881
>                 URL: https://issues.apache.org/jira/browse/AVRO-881
>             Project: Avro
>          Issue Type: New Feature
>          Components: java
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: AVRO-881.patch
>
>
> It would be useful to be able to query the metadata (e.g. the compression codec being used) from a command line tool.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira