Return-Path: X-Original-To: apmail-avro-dev-archive@www.apache.org Delivered-To: apmail-avro-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4DCD818A8C for ; Thu, 21 Jan 2016 20:46:40 +0000 (UTC) Received: (qmail 20905 invoked by uid 500); 21 Jan 2016 20:46:40 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 20847 invoked by uid 500); 21 Jan 2016 20:46:40 -0000 Mailing-List: contact dev-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list dev@avro.apache.org Received: (qmail 20826 invoked by uid 99); 21 Jan 2016 20:46:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jan 2016 20:46:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C62BC2C1F57 for ; Thu, 21 Jan 2016 20:46:39 +0000 (UTC) Date: Thu, 21 Jan 2016 20:46:39 +0000 (UTC) From: =?utf-8?Q?Cl=C3=A9ment_MATHIEU_=28JIRA=29?= To: dev@avro.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AVRO-1787) Add support of directories & globs to concat MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AVRO-1787?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Cl=C3=A9ment MATHIEU updated AVRO-1787: ---------------------------------- Status: Patch Available (was: Open) > Add support of directories & globs to concat > -------------------------------------------- > > 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=C3=A9ment MATHIEU > Attachments: AVRO-1787.patch > > > While answering [this question|http://stackoverflow.com/questions/3485683= 8/concat-avro-files-using-avro-tools/34899425#34899425] on stack overflow, = I noticed that the concat tool does not support directories or glob pattern= s as "input-file". > OP's use case seems very valid but accepting only files as input push th= e 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 beca= use 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 a= bout glob patterns is welcome. -- This message was sent by Atlassian JIRA (v6.3.4#6332)