You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2017/01/27 16:59:24 UTC
[jira] [Updated] (AVRO-1787) Add support of directories & globs to
concat and cat
[ https://issues.apache.org/jira/browse/AVRO-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Busbey updated AVRO-1787:
------------------------------
Resolution: Fixed
Fix Version/s: 1.9.0
Status: Resolved (was: Patch Available)
> Add support of directories & globs to concat and cat
> ----------------------------------------------------
>
> Key: AVRO-1787
> URL: https://issues.apache.org/jira/browse/AVRO-1787
> Project: Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.7.7
> Reporter: Clément MATHIEU
> Assignee: Clément MATHIEU
> Fix For: 1.9.0
>
> Attachments: AVRO-1787.patch
>
>
> While answering [this question|http://stackoverflow.com/questions/34856838/concat-avro-files-using-avro-tools/34899425#34899425] on stack overflow, I noticed that the concat tool does not support directories or glob patterns as "input-file".
> OP's use case seems very valid but accepting only files as input push the burden on users.
> I think that it makes sense to also accept directories as input like cat does. Supporting glob patterns seems also useful if one want to concatenate the output of a MR job (in this case passing the directory won't work because of the {{_SUCESS}} file).
> I have quickly patched {{concat}} to support files, directories and glob patterns. Support of glob patterns has been added to {{cat}} since it seems useful too.
> This change should not introduce regression for users. But any feedback about glob patterns is welcome.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)