You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Mohit Anchlia <mo...@gmail.com> on 2012/12/22 07:38:10 UTC

Multiple input file

Is it possible to load multiple files in the same load command? I have
files in different path that I need to load, is that possible?

Re: Multiple input file

Posted by Rohini Palaniswamy <ro...@gmail.com>.
You can also use a comma separated list of file paths in the load command.


On Sat, Dec 22, 2012 at 6:13 AM, Alan Gates <ga...@hortonworks.com> wrote:

> Yes.  See http://pig.apache.org/docs/r0.10.0/basic.html#load for a
> discussion of how to use globs in file paths.
>
> Alan.
>
> On Dec 21, 2012, at 10:38 PM, Mohit Anchlia wrote:
>
> > Is it possible to load multiple files in the same load command? I have
> > files in different path that I need to load, is that possible?
>
>

Re: Multiple input file

Posted by Alan Gates <ga...@hortonworks.com>.
Yes.  See http://pig.apache.org/docs/r0.10.0/basic.html#load for a discussion of how to use globs in file paths.

Alan.
 
On Dec 21, 2012, at 10:38 PM, Mohit Anchlia wrote:

> Is it possible to load multiple files in the same load command? I have
> files in different path that I need to load, is that possible?