You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Suraj Acharya (JIRA)" <ji...@apache.org> on 2017/01/22 04:22:27 UTC

[jira] [Commented] (AVRO-1909) Make concat tool handle directories as input

    [ https://issues.apache.org/jira/browse/AVRO-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15833283#comment-15833283 ] 

Suraj Acharya commented on AVRO-1909:
-------------------------------------

The code looks good to me.
[~wallin] i know this seems like a late request, so feel free to open another issue, but is it possible for you to write a test case around this?

Also, Ill try to get someone to merge the changes in the next few days.

> Make concat tool handle directories as input
> --------------------------------------------
>
>                 Key: AVRO-1909
>                 URL: https://issues.apache.org/jira/browse/AVRO-1909
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.8.1
>            Reporter: Sebastian Wallin
>            Priority: Minor
>
> I'm having a situation where I want to concatenate thousands of files in a directory. Currently this generates `Argument list too long` when the shell tries to expand into a list of files.
> It would be great for the `concat` tool to handle directories as input for use cases like this, as well as being consistent with the `cat` tool
> There is a similar issue filed (AVRO-1787), which requests both directories and glob patters to be handled. IMHO it would be enough to make the `concat` tool handle directories, as a start. It would also require a lot less code to be changed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)