You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2011/09/09 01:00:09 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 ]
Doug Cutting updated AVRO-881:
------------------------------
Attachment: AVRO-881.patch
Tom, this looks great.
We don't currently prohibit the tab character in metadata keys. So if someone used the tab character in both a metadata key and and value then it would be hard to find the separation between the two. Should we worry about that?
Some possible solutions:
- change the spec & implementations to prohibit tabs in metadata keys
- change the output to be a JSON object (which might be harder for scripts to process)
- escape tabs in keys, replacing them with \t, also escaping CR, NL and backslash too.
Here's a patch that implements that last option.
> 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, 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