avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-881) Add tool to list data file metadata
Date Tue, 30 Aug 2011 21:47:13 GMT

     [ 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

        

Mime
View raw message